Changeset 12780 for trunk/FACT++/src/FACT.cc
- Timestamp:
- 01/30/12 16:53:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/FACT.cc
r11040 r12780 10 10 #include <iostream> 11 11 12 #include <boost/version.hpp> 12 13 #include <boost/filesystem.hpp> 13 14 … … 45 46 void FACT::PrintVersion(const char *name) 46 47 { 48 #if BOOST_VERSION < 104700 47 49 const std::string n = boost::filesystem::path(name).filename(); 50 #else 51 const std::string n = boost::filesystem::path(name).filename().string(); 52 #endif 48 53 49 54 std::cout <<
Note:
See TracChangeset
for help on using the changeset viewer.