From b3580d099d8012cfed26a9032b276b4bf8246a46 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 30 Nov 2020 14:54:26 +0100 Subject: Use raw string literals --- src/Canvas.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Canvas.cpp') diff --git a/src/Canvas.cpp b/src/Canvas.cpp index 53cfc91..a7d677a 100644 --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -62,7 +62,7 @@ Canvas::create_port(Patchage& patchage, const PortID& id, const PortInfo& info) const auto client_info = patchage.metadata().client(client_id); if (!client_info.has_value()) { patchage.log().error(fmt::format( - "Unable to add port \"{}\", client \"{}\" is unknown", + R"(Unable to add port "{}", client "{}" is unknown)", id, client_id)); @@ -93,7 +93,7 @@ Canvas::create_port(Patchage& patchage, const PortID& id, const PortInfo& info) if (parent->get_port(id)) { // TODO: Update existing port? patchage.log().error(fmt::format( - "Module \"{}\" already has port \"{}\"", client_name, port_name)); + R"(Module "{}" already has port "{}")", client_name, port_name)); return nullptr; } -- cgit v1.2.1