Fix compile error

This commit is contained in:
Barry Haddow 2013-04-12 16:29:52 +01:00
parent 9d42c7f6f7
commit c6e36f4dd7

View File

@ -197,7 +197,7 @@ public:
string nbestFile = staticData.GetNBestFilePath();
if ( ! nbestFile.empty() && nbestFile!="-" && !boost::starts_with(nbestFile,"/dev/stdout") ) {
boost::filesystem::path nbestPath(nbestFile);
hypergraphDir = nbestPath.parent_path().filename().native();
//hypergraphDir = nbestPath.parent_path().filename().native();
} else {
stringstream hypergraphDirName;
hypergraphDirName << boost::filesystem::current_path() << "/hypergraph";