From 532af2452bac2cdd0e2732ad145fdc2b141a4afc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 8 Mar 2019 12:38:19 +0100 Subject: Localise dependency on boost::format and improve logging API --- src/server/events/Delta.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/events') diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp index efc50bce..982b1141 100644 --- a/src/server/events/Delta.cpp +++ b/src/server/events/Delta.cpp @@ -127,7 +127,7 @@ Delta::add_set_event(const char* port_symbol, BlockImpl* block = dynamic_cast(_object); PortImpl* port = block->port_by_symbol(port_symbol); if (!port) { - _engine.log().warn(fmt("Unknown port `%1%' in state") % port_symbol); + _engine.log().warn("Unknown port `%1%' in state", port_symbol); return; } @@ -373,7 +373,7 @@ Delta::pre_process(PreProcessContext& ctx) lilv_state_emit_port_values( _state, s_add_set_event, this); } else { - _engine.log().warn(fmt("Failed to load preset <%1%>\n") % uri); + _engine.log().warn("Failed to load preset <%1%>\n", uri); } } else { _status = Status::BAD_VALUE; -- cgit v1.2.1