This commit is contained in:
froejdh_e committed 2024-11-11 17:13:48 +01:00
1 parent b172c7aa0a
commit ecf1b2a90b
18 files changed
+537 -348

No files matched your search

+9 -1
View File
@@ -1,9 +1,17 @@
#include "aare/defs.hpp"
#include <stdexcept>
#include <string>
#include <fmt/core.h>
namespace aare {
void assert_failed(const std::string &msg)
{
fmt::print(msg);
exit(1);
}
/**
* @brief Convert a DetectorType to a string
* @param type DetectorType