Changeset 12787 for trunk/FACT++/src
- Timestamp:
- 01/30/12 17:01:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Configuration.cc
r12533 r12787 1155 1155 const po::parsed_options parsed_database = 1156 1156 fDatabase.empty() ? po::parsed_options(&opt_database) : 1157 #if BOOST_VERSION < 104700 1157 1158 parse_database(path.filename(), fDatabase, opt_database, !checkdb); 1158 1159 #else 1160 parse_database(path.filename().string(), fDatabase, opt_database, !checkdb); 1161 #endif 1159 1162 // ------------------------ (11) ------------------------- 1160 1163 … … 1329 1332 1330 1333 string pname = path.parent_path().string(); 1334 #if BOOST_VERSION < 104700 1331 1335 string fname = path.filename(); 1336 #else 1337 string fname = path.filename().string(); 1338 #endif 1332 1339 1333 1340 // If the filename starts with "lt-" remove it from the name … … 1419 1426 } 1420 1427 1428 #if BOOST_VERSION < 104700 1421 1429 const std::string n = boost::filesystem::path(fName).filename(); 1430 #else 1431 const std::string n = boost::filesystem::path(fName).filename().string(); 1432 #endif 1422 1433 1423 1434 const string name = PACKAGE_STRING;
Note:
See TracChangeset
for help on using the changeset viewer.