From: ThorstenB Date: Tue, 27 Nov 2012 20:01:03 +0000 (+0100) Subject: Fix compile error "ISO C++ forbids initialization of member" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4b8e0740c480b5c27167b6852551641925893926;p=flightgear.git Fix compile error "ISO C++ forbids initialization of member" --- diff --git a/src/Navaids/NavDataCache.cxx b/src/Navaids/NavDataCache.cxx index 60d6aab44..05e8c011e 100644 --- a/src/Navaids/NavDataCache.cxx +++ b/src/Navaids/NavDataCache.cxx @@ -334,7 +334,7 @@ public: return stepSelect(stmt); } - const int MAX_RETRIES = 10; + static const int MAX_RETRIES = 10; bool stepSelect(sqlite3_stmt_ptr stmt) {