SGPath::set is called by SGPath::operator=(const char*p) so it needs to be unconditionnally compiled.

This commit is contained in:
Bertrand Coconnier 2017-02-25 16:02:36 +01:00
parent 23cc940743
commit 10fa8a471a

View File

@ -278,7 +278,6 @@ SGPath& SGPath::operator=(const SGPath& p)
SGPath::~SGPath() { SGPath::~SGPath() {
} }
#if defined(ENABLE_OLD_PATH_API)
// set path // set path
void SGPath::set( const string& p ) { void SGPath::set( const string& p ) {
path = p; path = p;
@ -286,7 +285,6 @@ void SGPath::set( const string& p ) {
_cached = false; _cached = false;
_rwCached = false; _rwCached = false;
} }
#endif
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
void SGPath::setPermissionChecker(PermissionChecker validator) void SGPath::setPermissionChecker(PermissionChecker validator)