summaryrefslogtreecommitdiff
path: root/src/stl_binary_tables.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-07-10 02:05:56 +0200
committerCarl Hetherington <cth@carlh.net>2021-07-10 02:05:56 +0200
commitf9c3bb397743e2556b55f8f6433aec8e731a81e8 (patch)
tree261ef68758b7c208577fa442df431ca2c9d1e9ba /src/stl_binary_tables.cc
parent8115d0f378b4c52a2ffca86ef8cfd949e9272d87 (diff)
Use dcp::compose rather than our own.compose
Diffstat (limited to 'src/stl_binary_tables.cc')
-rw-r--r--src/stl_binary_tables.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stl_binary_tables.cc b/src/stl_binary_tables.cc
index db623bf..ae333e6 100644
--- a/src/stl_binary_tables.cc
+++ b/src/stl_binary_tables.cc
@@ -20,7 +20,7 @@
#include "stl_binary_tables.h"
#include "exceptions.h"
#include "sub_assert.h"
-#include "compose.hpp"
+#include <dcp/compose.h>
using std::map;
using std::string;
@@ -39,7 +39,7 @@ file_to_enum (F k, map<F, STLBinaryCode<E> > m, string name)
{
typename map<F, STLBinaryCode<E> >::const_iterator i = m.find (k);
if (i == m.end ()) {
- throw STLError (String::compose ("Unknown %1 %2 in binary STL file", name, k));
+ throw STLError (dcp::compose ("Unknown %1 %2 in binary STL file", name, k));
}
return i->second.value;