summaryrefslogtreecommitdiff
path: root/slicer/db
diff options
context:
space:
mode:
Diffstat (limited to 'slicer/db')
-rw-r--r--slicer/db/sqlCommon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/slicer/db/sqlCommon.cpp b/slicer/db/sqlCommon.cpp
index 645c10f..d484967 100644
--- a/slicer/db/sqlCommon.cpp
+++ b/slicer/db/sqlCommon.cpp
@@ -1,5 +1,5 @@
#include <sqlExceptions.h>
-#include <boost/format.hpp>
+#include <compileTimeFormatter.h>
namespace Slicer {
void TooManyRowsReturned::ice_print(std::ostream & s) const
@@ -17,10 +17,10 @@ namespace Slicer {
s << "No rows found";
}
+ AdHocFormatter(UnsuitableIdFieldTypeMsg, "Unsuitable id field type [%?]");
void UnsuitableIdFieldType::ice_print(std::ostream & s) const
{
- static boost::format f("Unsuitable id field type [%s]");
- s << f % type;
+ UnsuitableIdFieldTypeMsg::write(s, type);
}
}