diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-11-18 21:08:58 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-11-18 21:08:58 +0400 |
commit | c8f19220e99131ee4e2fe5f2f6608f90e4206b18 (patch) | |
tree | e5173cdb920dd0f75c6aa12dfb323d6436804da0 /OnDiskPt/Main.cpp | |
parent | 1accc75d14829ca5545d58635c316a06d98ce6aa (diff) |
replace CHECK with UTIL_THROW_IFin OnDiskPt
Diffstat (limited to 'OnDiskPt/Main.cpp')
-rw-r--r-- | OnDiskPt/Main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OnDiskPt/Main.cpp b/OnDiskPt/Main.cpp index c3cda2a75..df01160e9 100644 --- a/OnDiskPt/Main.cpp +++ b/OnDiskPt/Main.cpp @@ -62,8 +62,7 @@ int main (int argc, char * const argv[]) Moses::InputFileStream inStream(filePath); OnDiskWrapper onDiskWrapper; - bool retDb = onDiskWrapper.BeginSave(destPath, numSourceFactors, numTargetFactors, numScores); - assert(retDb); + onDiskWrapper.BeginSave(destPath, numSourceFactors, numTargetFactors, numScores); PhraseNode &rootNode = onDiskWrapper.GetRootSourceNode(); size_t lineNum = 0; |