Fixes for build with mingw (no warnings in 32 Bit build, even with -wall).
SMD bugfix. Makefile is up to date now. Added pack-attribute for aiVector3D and aiVector2D. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@132 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -56,7 +56,7 @@ inline void SetGenericProperty(std::map< uint32_t, T >& list,
|
||||
|
||||
uint32_t hash = SuperFastHash(szName);
|
||||
|
||||
GenericPropertyMap::iterator it = list.find(hash);
|
||||
typename GenericPropertyMap::iterator it = list.find(hash);
|
||||
if (it == list.end())
|
||||
{
|
||||
if (bWasExisting)*bWasExisting = false;
|
||||
@@ -80,9 +80,9 @@ inline T GetGenericProperty(const std::map< uint32_t, T >& list,
|
||||
|
||||
uint32_t hash = SuperFastHash(szName);
|
||||
|
||||
GenericPropertyMap::const_iterator it = list.find(hash);
|
||||
typename GenericPropertyMap::const_iterator it = list.find(hash);
|
||||
if (it == list.end())return errorReturn;
|
||||
return (*it).second;
|
||||
}
|
||||
|
||||
#endif // !! AI_GENERIC_PROPERTY_H_INCLUDED
|
||||
#endif // !! AI_GENERIC_PROPERTY_H_INCLUDED
|
||||
|
||||
Reference in New Issue
Block a user