diff --git a/src/ccstruct/imagedata.cpp b/src/ccstruct/imagedata.cpp index a094a2ac..e70e1ee2 100644 --- a/src/ccstruct/imagedata.cpp +++ b/src/ccstruct/imagedata.cpp @@ -534,7 +534,7 @@ void DocumentData::Shuffle() { } } -// Locks the pages_mutex_ and Loads as many pages can fit in max_memory_ +// Locks the pages_mutex_ and loads as many pages as will fit into max_memory_ // starting at index pages_offset_. bool DocumentData::ReCachePages() { std::lock_guard lock(pages_mutex_); diff --git a/src/ccstruct/imagedata.h b/src/ccstruct/imagedata.h index c93958c2..625c1776 100644 --- a/src/ccstruct/imagedata.h +++ b/src/ccstruct/imagedata.h @@ -250,7 +250,7 @@ private: std::lock_guard lock(general_mutex_); memory_used_ = memory_used; } - // Locks the pages_mutex_ and Loads as many pages can fit in max_memory_ + // Locks the pages_mutex_ and loads as many pages as will fit into max_memory_ // starting at index pages_offset_. bool ReCachePages();