aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-dataloader/DiagnosticLogger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-dataloader/DiagnosticLogger.cpp')
-rw-r--r--src/openvic-dataloader/DiagnosticLogger.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/openvic-dataloader/DiagnosticLogger.cpp b/src/openvic-dataloader/DiagnosticLogger.cpp
index aae3dcb..9fe5e93 100644
--- a/src/openvic-dataloader/DiagnosticLogger.cpp
+++ b/src/openvic-dataloader/DiagnosticLogger.cpp
@@ -1,4 +1,4 @@
-#include <openvic-dataloader/DiagnosticLogger.hpp>
+#include "DiagnosticLogger.hpp"
using namespace ovdl;
@@ -9,8 +9,7 @@ DiagnosticLogger::operator bool() const {
bool DiagnosticLogger::errored() const { return _errored; }
bool DiagnosticLogger::warned() const { return _warned; }
-
NodeLocation DiagnosticLogger::location_of(const error::Error* error) const {
auto result = _map.lookup(error);
- return result ? *result : NodeLocation{};
+ return result ? *result : NodeLocation {};
} \ No newline at end of file