fix C++11 build

This commit is contained in:
MoAlyousef
2020-11-27 17:38:40 +03:00
parent 5dc71f9ba1
commit 16e68d7542
12 changed files with 52 additions and 29 deletions
+4 -2
View File
@@ -2,7 +2,8 @@
#include <assert.h>
namespace cmkr::error {
namespace cmkr {
namespace error {
Status::Status(Code ec) noexcept : ec_(ec) {}
@@ -10,7 +11,8 @@ Status::operator int() const noexcept { return static_cast<int>(ec_); }
Status::Code Status::code() const noexcept { return ec_; }
} // namespace cmkr::error
} // namespace error
} // namespace cmkr
const char *err_string[] = {
"Success", "Runtime error", "Initialization error", "CMake generation error", "Build error",