Otherwise they generate undefined references on MSVC.
}
+/* These shortcut constructors must be defined here to avoid an undefined
+reference to vftable. */
+Animation::Loader::Loader(Animation &a):
+ Loader(a, 0)
+{ }
+
+Animation::Loader::Loader(Animation &a, Collection &c):
+ Loader(a, &c)
+{ }
+
Animation::Loader::Loader(Animation &a, Collection *c):
DataFile::CollectionObjectLoader<Animation>(a, c),
start_slope(1),
int slopes_set;
public:
- Loader(Animation &a): Loader(a, 0) { }
- Loader(Animation &a, Collection &c): Loader(a, &c) { }
+ Loader(Animation &);
+ Loader(Animation &, Collection &);
private:
Loader(Animation &, Collection *);
virtual void finish();
{ }
+// Hide the generated constructor of LoadingThread from the header
+ResourceManager::ResourceManager()
+{ }
+
ResourceManager::~ResourceManager()
{
thread.terminate();
LoadingThread thread;
public:
+ ResourceManager();
~ResourceManager();
void set_loading_policy(LoadingPolicy);