]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkObject.h
#3203
[bbtk.git] / kernel / src / bbtkObject.h
index 811c0b671e8d3e0c16c0bbc69afcf5d919f5e568..a172adb8362746a52c5a0706b8d77e10db0d98df 100644 (file)
@@ -105,7 +105,8 @@ namespace bbtk
     {                                                                  
       if (s->mThisPointer.lock())                                      
        {                                                               
-         boost::shared_ptr<U> p = s->GetThisPointer<U>();
+//EED 2018-07-11 minwg64 
+         boost::shared_ptr<U> p = s->template GetThisPointer<U>();
          if (!lock) s->mThisPointerLocked.reset();
          return p;
        }                                                               
@@ -124,8 +125,9 @@ namespace bbtk
                                             bool lock = false)
     {                                                                  
       if (s->mThisPointer.lock())                                      
-       {                                                               
-         boost::shared_ptr<U> p = s->GetThisPointer<U>();
+       {                       
+//EED 2018-07-11 minwg64 
+         boost::shared_ptr<U> p = s->template GetThisPointer<U>();
          if (!lock) s->mThisPointerLocked.reset();
          return p;
        }