From 9304bcc9af7c7617e7e5274c368a39219f3eb83b Mon Sep 17 00:00:00 2001 From: James Turner Date: Fri, 10 Apr 2020 10:39:04 +0100 Subject: [PATCH] Change some warnings to developer mode. --- src/Main/fg_props.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Main/fg_props.hxx b/src/Main/fg_props.hxx index a1a021365..894f69e4d 100644 --- a/src/Main/fg_props.hxx +++ b/src/Main/fg_props.hxx @@ -740,7 +740,7 @@ fgTie (const char * name, V (*getter)(), void (*setter)(V) = 0, { if (!globals->get_props()->tie(name, SGRawValueFunctions(getter, setter), useDefault)) - SG_LOG(SG_GENERAL, SG_WARN, + SG_LOG(SG_GENERAL, SG_DEV_WARN, "Failed to tie property " << name << " to functions"); } @@ -773,7 +773,7 @@ fgTie (const char * name, int index, V (*getter)(int), getter, setter), useDefault)) - SG_LOG(SG_GENERAL, SG_WARN, + SG_LOG(SG_GENERAL, SG_DEV_WARN, "Failed to tie property " << name << " to indexed functions"); } @@ -805,7 +805,7 @@ fgTie (const char * name, T * obj, V (T::*getter)() const, if (!globals->get_props()->tie(name, SGRawValueMethods(*obj, getter, setter), useDefault)) - SG_LOG(SG_GENERAL, SG_WARN, + SG_LOG(SG_GENERAL, SG_DEV_WARN, "Failed to tie property " << name << " to object methods"); } @@ -841,7 +841,7 @@ fgTie (const char * name, T * obj, int index, getter, setter), useDefault)) - SG_LOG(SG_GENERAL, SG_WARN, + SG_LOG(SG_GENERAL, SG_DEV_WARN, "Failed to tie property " << name << " to indexed object methods"); }