summaryrefslogtreecommitdiffhomepage
path: root/include/CompilerKit/Utilities
diff options
context:
space:
mode:
Diffstat (limited to 'include/CompilerKit/Utilities')
-rw-r--r--include/CompilerKit/Utilities/Compiler.h4
-rw-r--r--include/CompilerKit/Utilities/DLL.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/CompilerKit/Utilities/Compiler.h b/include/CompilerKit/Utilities/Compiler.h
index 7a79787..dd9dbfc 100644
--- a/include/CompilerKit/Utilities/Compiler.h
+++ b/include/CompilerKit/Utilities/Compiler.h
@@ -51,7 +51,7 @@ inline void print_error(STLString reason, STLString file) noexcept {
kStdErr << reason << kBlank << std::endl;
- if (kAcceptableErrors > kErrorLimit) std::exit(NECTI_EXEC_ERROR);
+ if (kAcceptableErrors > kErrorLimit) std::exit(NECTAR_EXEC_ERROR);
++kAcceptableErrors;
}
@@ -116,6 +116,6 @@ inline void drvi_crash_handler(std::int32_t id) {
std::cout << std::endl;
- std::exit(NECTI_EXEC_ERROR);
+ std::exit(NECTAR_EXEC_ERROR);
}
} // namespace CompilerKit::Detail
diff --git a/include/CompilerKit/Utilities/DLL.h b/include/CompilerKit/Utilities/DLL.h
index ea6789d..130ccb0 100644
--- a/include/CompilerKit/Utilities/DLL.h
+++ b/include/CompilerKit/Utilities/DLL.h
@@ -51,7 +51,7 @@ class DLLLoader final {
return *this;
}
- NECTI_COPY_DELETE(DLLLoader)
+ NECTAR_COPY_DELETE(DLLLoader)
DLLLoader() = default;
~DLLLoader() { this->Destroy(); }