diff options
author | MosesAdmin <moses-support-owner@mit.edu> | 2017-02-15 14:03:23 +0300 |
---|---|---|
committer | MosesAdmin <moses-support-owner@mit.edu> | 2017-02-15 14:03:23 +0300 |
commit | 54c2eae4b492d972b251fed0d632ebafe0e47ca8 (patch) | |
tree | 45f99b83efa78189d254c28807c8cfddae3d1951 /moses2/TranslationModel | |
parent | de009c1fca02f8bcd60cb65f39eaa8d8d80c118c (diff) |
daily automatic beautifier
Diffstat (limited to 'moses2/TranslationModel')
-rw-r--r-- | moses2/TranslationModel/CompactPT/MmapAllocator.h | 2 | ||||
-rw-r--r-- | moses2/TranslationModel/ProbingPT/storing.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/moses2/TranslationModel/CompactPT/MmapAllocator.h b/moses2/TranslationModel/CompactPT/MmapAllocator.h index c2923cad5..09ba58d93 100644 --- a/moses2/TranslationModel/CompactPT/MmapAllocator.h +++ b/moses2/TranslationModel/CompactPT/MmapAllocator.h @@ -131,7 +131,7 @@ public: if (!m_fixed) { size_t read = 0; #ifdef _WIN32 - read += _chsize_s(m_file_desc, m_map_size); + read += _chsize_s(m_file_desc, m_map_size); #else read += ftruncate(m_file_desc, m_map_size); #endif diff --git a/moses2/TranslationModel/ProbingPT/storing.cpp b/moses2/TranslationModel/ProbingPT/storing.cpp index 862aab3e8..ff26bc72b 100644 --- a/moses2/TranslationModel/ProbingPT/storing.cpp +++ b/moses2/TranslationModel/ProbingPT/storing.cpp @@ -68,7 +68,7 @@ void createProbingPT(const std::string &phrasetable_path, bool log_prob, int max_cache_size, bool scfg) { #if defined(_WIN32) || defined(_WIN64) - std::cerr << "Create not implemented for Windows" << std::endl; + std::cerr << "Create not implemented for Windows" << std::endl; #else std::cerr << "Starting..." << std::endl; |