]> git.mxchange.org Git - flightgear.git/commitdiff
Prototype of fake functions should match the real ones
authorfredb <fredb>
Sat, 16 Dec 2006 21:40:38 +0000 (21:40 +0000)
committerfredb <fredb>
Sat, 16 Dec 2006 21:40:38 +0000 (21:40 +0000)
src/FDM/YASim/yasim-test.cpp

index 8696ff36bbd256a7b164cb215e9d366f9807aa50..c2a5fd74240c9442f27a260659662ded2c273b4c 100644 (file)
@@ -16,8 +16,8 @@ bool fgGetBool(char const * name, bool def) { return false; }
 SGPropertyNode* fgGetNode (const char * path, bool create) { return 0; }
 SGPropertyNode* fgGetNode (const char * path, int i, bool create) { return 0; }
 float fgGetFloat (const char * name, float defaultValue) { return 0; }
-float fgGetDouble (const char * name, double defaultValue) { return 0; }
-float fgSetDouble (const char * name, double defaultValue) { return 0; }
+double fgGetDouble (const char * name, double defaultValue = 0.0) { return 0; }
+bool fgSetDouble (const char * name, double defaultValue = 0.0) { return 0; }
 
 static const float RAD2DEG = 57.2957795131;
 static const float DEG2RAD = 0.0174532925199;