From faaaf61bf462cb4d61ba9eda328615be8402fabe Mon Sep 17 00:00:00 2001 From: stephb9959 Date: Thu, 14 Apr 2022 11:50:37 -0400 Subject: [PATCH] Fixing framework. --- src/storage/orm_avatar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/orm_avatar.cpp b/src/storage/orm_avatar.cpp index 2bd1cba..7b73b49 100644 --- a/src/storage/orm_avatar.cpp +++ b/src/storage/orm_avatar.cpp @@ -61,7 +61,7 @@ namespace OpenWifi { // std::cout << "Size:" << A.avatar.size() << std::endl; Poco::Data::LOBInputStream IL(A.avatar); - std::stringstream os; + std::ostringstream os("",std::ios_base::binary); Poco::StreamCopier::copyStream(IL, os); AvatarContent = os.str();