Refactored error handling.

This commit is contained in:
2017-05-31 18:03:19 +02:00
parent aea640a624
commit 0d8b1e94da
11 changed files with 224 additions and 142 deletions

View File

@@ -3,9 +3,6 @@ set(target anthem)
file(GLOB core_sources "anthem/*.cpp")
file(GLOB core_headers "../include/anthem/*.h")
file(GLOB input_sources "anthem/input/*.cpp")
file(GLOB input_headers "../include/anthem/input/*.h")
file(GLOB output_sources "anthem/output/*.cpp")
file(GLOB output_headers "../include/anthem/output/*.h")
@@ -13,9 +10,6 @@ set(sources
${core_sources}
${core_headers}
${input_sources}
${input_headers}
${output_sources}
${output_headers}
)

View File

@@ -110,7 +110,7 @@ FormatScope Logger::log(Priority priority)
////////////////////////////////////////////////////////////////////////////////////////////////////
FormatScope Logger::log(Priority priority, const input::Location &location)
FormatScope Logger::log(Priority priority, const Location &location)
{
const auto priorityID = static_cast<int>(priority);