Skip to content

Commit

Permalink
daily automatic beautifier
Browse files Browse the repository at this point in the history
  • Loading branch information
mosesadmin committed Feb 15, 2017
1 parent de009c1 commit 54c2eae
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions moses2/FF/LexicalReordering/LexicalReordering.cpp
Expand Up @@ -34,13 +34,13 @@ namespace Moses2
///////////////////////////////////////////////////////////////////////

LexicalReordering::LexicalReordering(size_t startInd, const std::string &line)
: StatefulFeatureFunction(startInd, line)
, m_blank(NULL)
, m_propertyInd(-1)
, m_coll(NULL)
, m_configuration(NULL)
: StatefulFeatureFunction(startInd, line)
, m_blank(NULL)
, m_propertyInd(-1)
, m_coll(NULL)
, m_configuration(NULL)
#ifdef HAVE_CMPH
, m_compactModel(NULL)
, m_compactModel(NULL)
#endif
{
ReadParameters();
Expand Down
2 changes: 1 addition & 1 deletion moses2/MemPoolAllocator.h
Expand Up @@ -73,7 +73,7 @@ class MemPoolAllocator
}

MemPoolAllocator<T>& operator=(const MemPoolAllocator<T>& allocator) {
return *this;
return *this;
}

MemPool &m_pool;
Expand Down
2 changes: 1 addition & 1 deletion moses2/TranslationModel/CompactPT/MmapAllocator.h
Expand Up @@ -131,7 +131,7 @@ class MmapAllocator
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
Expand Down
2 changes: 1 addition & 1 deletion moses2/TranslationModel/ProbingPT/storing.cpp
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion moses2/legacy/ThreadPool.cpp
Expand Up @@ -40,7 +40,7 @@ namespace Moses2

ThreadPool::ThreadPool(size_t numThreads, int cpuAffinityOffset,
int cpuAffinityIncr) :
m_stopped(false), m_stopping(false), m_queueLimit(0)
m_stopped(false), m_stopping(false), m_queueLimit(0)
{
//size_t numCPU = sysconf(_SC_NPROCESSORS_ONLN);
size_t numCPU = std::thread::hardware_concurrency();
Expand Down

0 comments on commit 54c2eae

Please sign in to comment.