diff --git a/src/Main/options.cxx b/src/Main/options.cxx index c62f7baca..4f3120f90 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -2671,7 +2671,7 @@ void Options::showVersion() const cout << "FG_SCENERY="; PathList scn = globals->get_fg_scenery(); - cout << SGPath::join(scn, &SGPath::pathListSep) << endl; + cout << SGPath::join(scn, SGPath::pathListSep) << endl; cout << "SimGear version: " << SG_STRINGIZE(SIMGEAR_VERSION) << endl; #ifndef FG_TESTLIB cout << "OSG version: " << osgGetVersion() << endl; diff --git a/src/Navaids/NavDataCache.cxx b/src/Navaids/NavDataCache.cxx index fd7acd54d..ba2a77f1d 100644 --- a/src/Navaids/NavDataCache.cxx +++ b/src/Navaids/NavDataCache.cxx @@ -1114,7 +1114,7 @@ bool NavDataCache::NavDataCachePrivate::areDatFilesModified( const string datTypeStr = NavDataCache::datTypeStr[datFileType]; const string_list cachedFiles = outer->readOrderedStringListProperty( - datTypeStr + ".dat files", &SGPath::pathListSep); + datTypeStr + ".dat files", SGPath::pathListSep); const PathList& datFiles = datFilesGroupInfo.paths; PathList::const_iterator datFilesIt = datFiles.begin(); string_list::const_iterator cachedFilesIt = cachedFiles.begin(); @@ -1406,7 +1406,7 @@ void NavDataCache::loadDatFiles( // Store the list of .dat files we have loaded writeOrderedStringListProperty(typeStr + ".dat files", datFiles, - &SGPath::pathListSep); + SGPath::pathListSep); SG_LOG(SG_NAVCACHE, SG_INFO, typeStr + ".dat files load took: " << st.elapsedMSec());