]> Creatis software - bbtk.git/commitdiff
#3174 BBTK Bug New Normal - boost in fedore 26
authorEduardo Davila <davila@localhost.localdomain>
Tue, 26 Sep 2017 19:49:51 +0000 (21:49 +0200)
committerEduardo Davila <davila@localhost.localdomain>
Tue, 26 Sep 2017 19:49:51 +0000 (21:49 +0200)
kernel/src/bbtkObject.h

index 811c0b671e8d3e0c16c0bbc69afcf5d919f5e568..c2d9e9a2bb4e8b2ffde01643ac2b2be6ce52ffba 100644 (file)
@@ -105,7 +105,7 @@ namespace bbtk
     {                                                                  
       if (s->mThisPointer.lock())                                      
        {                                                               
-         boost::shared_ptr<U> p = s->GetThisPointer<U>();
+         boost::shared_ptr<U> p = s->template GetThisPointer<U>();
          if (!lock) s->mThisPointerLocked.reset();
          return p;
        }                                                               
@@ -125,7 +125,7 @@ namespace bbtk
     {                                                                  
       if (s->mThisPointer.lock())                                      
        {                                                               
-         boost::shared_ptr<U> p = s->GetThisPointer<U>();
+         boost::shared_ptr<U> p = s->template GetThisPointer<U>();
          if (!lock) s->mThisPointerLocked.reset();
          return p;
        }