From 8dc6c9b46bc228d88fae20a6159895918d1dd74d Mon Sep 17 00:00:00 2001
From: mbellgardt <martin.bellgardt@rwth-aachen.de>
Date: Wed, 11 Jul 2018 10:23:14 +0200
Subject: [PATCH] Fix compilation

---
 tests/test_utilities/opengl_buffer_data_comparison.hpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/test_utilities/opengl_buffer_data_comparison.hpp b/tests/test_utilities/opengl_buffer_data_comparison.hpp
index 053028a6..47c28f0c 100644
--- a/tests/test_utilities/opengl_buffer_data_comparison.hpp
+++ b/tests/test_utilities/opengl_buffer_data_comparison.hpp
@@ -40,6 +40,7 @@
 
 #include "catch/catch.hpp"
 
+#include "phx/core/logger.hpp"
 #include "phx/rendering/backend/opengl_image_buffer_data.hpp"
 #include "phx/resources/resource_manager.hpp"
 #include "phx/resources/types/image.hpp"
@@ -224,9 +225,9 @@ void OpenGLBufferComparison::REQUIRE_REFERENCE_IMAGE_SIMILARITY(
     try {
       image.Load();
     } catch (const std::exception&) {
-      error(
+      phx::error(
           "Unexpected exception while loading the reference image. File exists "
-          "but may be corrupted.")
+          "but may be corrupted.");
     }
   }
 
-- 
GitLab