diff --git a/test/style.cpp b/test/style.cpp index c9e6c08af..1198b2a2e 100644 --- a/test/style.cpp +++ b/test/style.cpp @@ -10,7 +10,7 @@ using namespace llmr; typedef std::vector> Messages; -void checkMessages(FixtureLogBackend log, Messages messages) { +void checkMessages(const FixtureLogBackend &log, Messages messages) { for (auto &it : messages) { const FixtureLogBackend::LogMessage message { EventSeverityClass("WARNING"),