From 0a041cf9bca04e4ba18a2a9e82b0df503795b30c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 9 Dec 2015 16:29:46 +0000 Subject: libdbpp nolonger stores column names as ustrings --- slicer/db/sqlSelectDeserializer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slicer/db/sqlSelectDeserializer.cpp b/slicer/db/sqlSelectDeserializer.cpp index b0ce145..3abb03b 100644 --- a/slicer/db/sqlSelectDeserializer.cpp +++ b/slicer/db/sqlSelectDeserializer.cpp @@ -98,7 +98,7 @@ namespace Slicer { const DB::Column & c = cmd[col]; if (!c.isNull()) { auto fmpr = rmp->GetAnonChildRef([&c](Slicer::HookCommonPtr h) { - return boost::iequals(c.name.raw(), h->PartName()); + return boost::iequals(c.name, h->PartName()); }); if (fmpr) { SqlSourcePtr h = new SqlSource(c); -- cgit v1.2.3