Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/logging.h')
-rw-r--r--src/common/logging.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/logging.h b/src/common/logging.h
index 855bda90..b350d603 100644
--- a/src/common/logging.h
+++ b/src/common/logging.h
@@ -12,19 +12,19 @@ namespace marian {
std::string getCallStack(size_t skipLevels);
// Marian gives a basic exception guarantee. If you catch a
- // MarianRuntimeError you must assume that the object can be
+ // MarianRuntimeError you must assume that the object can be
// safely destructed, but cannot be used otherwise.
- // Internal multi-threading in exception-throwing mode is not
+ // Internal multi-threading in exception-throwing mode is not
// allowed; and constructing a thread-pool will cause an exception.
-
+
class MarianRuntimeException : public std::runtime_error {
private:
std::string callStack_;
public:
- MarianRuntimeException(const std::string& message, const std::string& callStack)
- : std::runtime_error(message),
+ MarianRuntimeException(const std::string& message, const std::string& callStack)
+ : std::runtime_error(message),
callStack_(callStack) {}
const char* getCallStack() const throw() {
@@ -178,4 +178,4 @@ void checkedLog(std::string logger, std::string level, Args... args) {
}
void createLoggers(const marian::Config* options = nullptr);
-void switchtoMultinodeLogging(std::string nodeIdStr);
+void switchToMultinodeLogging(std::string nodeIdStr);