diff options
Diffstat (limited to 'src/data/vocab.cpp')
-rw-r--r-- | src/data/vocab.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/data/vocab.cpp b/src/data/vocab.cpp index 07d16c33..196c147c 100644 --- a/src/data/vocab.cpp +++ b/src/data/vocab.cpp @@ -138,8 +138,9 @@ void Vocab::create(const std::string& vocabPath, const std::string& trainPath) { "Specified vocab directory {} does not exist", dir); - ABORT_IF(!dir.empty() && !(boost::filesystem::status(dir).permissions() - & boost::filesystem::owner_write), + ABORT_IF(!dir.empty() + && !(boost::filesystem::status(dir).permissions() + & boost::filesystem::owner_write), "No write permission in vocab directory {}", dir); |