]> git.mxchange.org Git - simgear.git/blobdiff - simgear/props/ExtendedPropertyAdapter.hxx
Fixed a crash: the singleton needs to be instantiated the first time SGCommandMgr...
[simgear.git] / simgear / props / ExtendedPropertyAdapter.hxx
index 064f407491005e075932f2297213d70f6fac8bf1..cbe50760e301228914a3afcd3c4b457fbbd73641 100644 (file)
@@ -46,7 +46,7 @@ public:
         if (_elements.size() < num_components)
             throw sg_exception();
         for (int i = 0; i < num_components; ++i)
-            result[i] = _elements[i]->getValue<double>();
+            result[i] = _elements[i]->template getValue<double>();
         return result;
     }
     void set(const T& val)