From dbe279d083df41decc53b9d307d504226c8ac3cc Mon Sep 17 00:00:00 2001 From: stephb9959 Date: Wed, 4 May 2022 16:10:44 -0700 Subject: [PATCH] Framework update. --- src/framework/orm.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/framework/orm.h b/src/framework/orm.h index 6196a87..8559bdf 100644 --- a/src/framework/orm.h +++ b/src/framework/orm.h @@ -156,12 +156,8 @@ namespace ORM { } inline std::string to_string(const Poco::Data::BLOB &blob) { - auto Content = blob.content(); std::string result; - result.reserve(Content.size()); - for(const auto &c:Content) { - result += (char) c; - } + result.assign(blob.begin(),blob.end()); return result; }