]> git.mxchange.org Git - flightgear.git/commitdiff
Fix compile error "ISO C++ forbids initialization of member"
authorThorstenB <brehmt@gmail.com>
Tue, 27 Nov 2012 20:01:03 +0000 (21:01 +0100)
committerThorstenB <brehmt@gmail.com>
Tue, 27 Nov 2012 20:01:03 +0000 (21:01 +0100)
src/Navaids/NavDataCache.cxx

index 60d6aab44e85df0d7ba2422e92c9f8800292fe77..05e8c011eec4cd204a65474f44d50f1beef72727 100644 (file)
@@ -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)
   {