From cd94be695709ea26caa8dc47f34346017b053ee9 Mon Sep 17 00:00:00 2001 From: Caner Candan Date: Tue, 1 May 2012 20:59:45 +0200 Subject: [PATCH] * fixed gcc 4.7 errors: ambigious calls to super class methods --- eo/src/eoFlight.h | 2 +- eo/src/eoParticleBestInit.h | 2 +- eo/src/eoSelectFromWorth.h | 2 +- eo/src/eoVelocity.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eo/src/eoFlight.h b/eo/src/eoFlight.h index 9af813a24..4c46d8e94 100644 --- a/eo/src/eoFlight.h +++ b/eo/src/eoFlight.h @@ -46,7 +46,7 @@ public: { for (unsigned i = 0; i < _pop.size (); i++) { - operator ()(_pop[i]); + this->operator ()(_pop[i]); } } diff --git a/eo/src/eoParticleBestInit.h b/eo/src/eoParticleBestInit.h index 050fbc9c2..b203c8246 100644 --- a/eo/src/eoParticleBestInit.h +++ b/eo/src/eoParticleBestInit.h @@ -46,7 +46,7 @@ public: { for (unsigned i = 0; i < _pop.size (); i++) { - operator ()(_pop[i]); + this->operator ()(_pop[i]); } } diff --git a/eo/src/eoSelectFromWorth.h b/eo/src/eoSelectFromWorth.h index a2fd5ed26..342be9da7 100644 --- a/eo/src/eoSelectFromWorth.h +++ b/eo/src/eoSelectFromWorth.h @@ -217,7 +217,7 @@ public: #ifndef NDEBUG // check whether the stuff is still in sync - check_sync(index, _pop[index]); + this->check_sync(index, _pop[index]); #endif return _pop[index]; diff --git a/eo/src/eoVelocity.h b/eo/src/eoVelocity.h index 5bbdb7c5b..e388078c1 100644 --- a/eo/src/eoVelocity.h +++ b/eo/src/eoVelocity.h @@ -49,7 +49,7 @@ public: { for (unsigned i = 0; i < _pop.size (); i++) { - operator ()(_pop[i],i); + this->operator ()(_pop[i],i); } }