Renaming to scsl.

This commit is contained in:
2023-10-14 18:38:01 -07:00
parent dd696e2c1f
commit 05790a95fa
32 changed files with 133 additions and 123 deletions

View File

@@ -10,12 +10,12 @@
#include <sstream>
namespace klib {
namespace scsl {
void
TestAssert(bool condition, std::string message)
{
#if defined(NDEBUG) || defined(KLIB_NO_ASSERT)
#if defined(NDEBUG) || defined(SCSL_NO_ASSERT)
if (!condition) {
throw AssertionFailed(message);
}
@@ -35,7 +35,7 @@ TestAssert(bool condition)
if (condition) {
return;
}
#if defined(KLIB_NO_ASSERT)
#if defined(SCSL_NO_ASSERT)
std::cerr << "Assertion failed!\n";
#else
std::stringstream msg;
@@ -49,4 +49,4 @@ TestAssert(bool condition)
}
} // namespace klib
} // namespace scsl