- applied patch to fix compilation errors with CLang following issue #3590305
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1339 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/12/head
parent
d395e88670
commit
c338b665ed
|
@ -195,13 +195,13 @@ namespace STEP {
|
|||
// conversion support.
|
||||
template <typename T>
|
||||
const T& ResolveSelect(const DB& db) const {
|
||||
return Couple<T>(db).MustGetObject(To<EXPRESS::ENTITY>())->To<T>();
|
||||
return Couple<T>(db).MustGetObject(To<EXPRESS::ENTITY>())->template To<T>();
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
const T* ResolveSelectPtr(const DB& db) const {
|
||||
const EXPRESS::ENTITY* e = ToPtr<EXPRESS::ENTITY>();
|
||||
return e?Couple<T>(db).MustGetObject(*e)->ToPtr<T>():(const T*)0;
|
||||
return e?Couple<T>(db).MustGetObject(*e)->template ToPtr<T>():(const T*)0;
|
||||
}
|
||||
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue