mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 11:43:53 +00:00
gcc compatibility
This commit is contained in:
@@ -82,7 +82,7 @@ namespace IfcUtil {
|
||||
virtual const char* getArgumentName(unsigned int i) const = 0;
|
||||
|
||||
template <class T>
|
||||
typename T* as() {
|
||||
T* as() {
|
||||
return is(T::Class())
|
||||
? static_cast<T*>(this)
|
||||
: static_cast<T*>(0);
|
||||
|
||||
Reference in New Issue
Block a user