From 10fa8a471a5fe6b3a8d87deccf2fb259fb7ac338 Mon Sep 17 00:00:00 2001 From: Bertrand Coconnier Date: Sat, 25 Feb 2017 16:02:36 +0100 Subject: [PATCH] SGPath::set is called by SGPath::operator=(const char*p) so it needs to be unconditionnally compiled. --- simgear/misc/sg_path.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/simgear/misc/sg_path.cxx b/simgear/misc/sg_path.cxx index 6ab6ad65..59f74e9d 100644 --- a/simgear/misc/sg_path.cxx +++ b/simgear/misc/sg_path.cxx @@ -278,7 +278,6 @@ SGPath& SGPath::operator=(const SGPath& p) SGPath::~SGPath() { } -#if defined(ENABLE_OLD_PATH_API) // set path void SGPath::set( const string& p ) { path = p; @@ -286,7 +285,6 @@ void SGPath::set( const string& p ) { _cached = false; _rwCached = false; } -#endif //------------------------------------------------------------------------------ void SGPath::setPermissionChecker(PermissionChecker validator)