From e48663b87da0cc74f5de36e5982f2a3ea94facc3 Mon Sep 17 00:00:00 2001 From: fredb Date: Sat, 16 Dec 2006 21:40:38 +0000 Subject: [PATCH] Prototype of fake functions should match the real ones --- src/FDM/YASim/yasim-test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FDM/YASim/yasim-test.cpp b/src/FDM/YASim/yasim-test.cpp index 8696ff36b..c2a5fd742 100644 --- a/src/FDM/YASim/yasim-test.cpp +++ b/src/FDM/YASim/yasim-test.cpp @@ -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;