From f9c3bb397743e2556b55f8f6433aec8e731a81e8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 10 Jul 2021 02:05:56 +0200 Subject: Use dcp::compose rather than our own. --- src/exceptions.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/exceptions.cc') diff --git a/src/exceptions.cc b/src/exceptions.cc index 72198fc..e6559db 100644 --- a/src/exceptions.cc +++ b/src/exceptions.cc @@ -17,15 +17,15 @@ */ -#include "compose.hpp" #include "exceptions.h" +#include using std::list; using std::string; using namespace sub; ProgrammingError::ProgrammingError (string file, int line) - : runtime_error (String::compose ("Programming error at %1:%2", file, line)) + : runtime_error (dcp::compose ("Programming error at %1:%2", file, line)) { } -- cgit v1.2.3