Misc intermediate fixes, more work on these to follow.

--Bug fixes:
-Fix crash when using smooth interpolation in EmberGenome.
-Print error and exit EmberGenome when sequencing if times are not
sorted.

--Code changes:
-Another attempt at Singleton. This reverts the design to what it was
before with a fix to the code that was causing it not to behave like a
singleton should.
This commit is contained in:
Matt Feemster
2016-04-21 15:33:00 -07:00
parent d639921d68
commit cac7308776
9 changed files with 45 additions and 57 deletions

View File

@ -13,7 +13,7 @@ namespace EmberNs
/// This class is a singleton since all of its data is shared and read-only.
/// </summary>
template <typename T>
class EMBER_API VarFuncs
class EMBER_API VarFuncs : public Singleton<VarFuncs<T>>
{
public:
/// <summary>
@ -542,7 +542,7 @@ public:
}
}
SINGLETON_INSTANCE_DECL(VarFuncs);//Implemented in VariationList.cpp
SINGLETON_DERIVED_IMPL(VarFuncs<T>);
private:
/// <summary>