SGPath::set is called by SGPath::operator=(const char*p) so it needs to be unconditionnally compiled.
This commit is contained in:
parent
23cc940743
commit
10fa8a471a
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user