We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e645f24 commit b8884d2Copy full SHA for b8884d2
main/src/db/Database.cpp
@@ -44,9 +44,9 @@ Database::Database(const oatpp::String& dbHost,
44
const oatpp::String& dbName)
45
: m_connection(nullptr)
46
{
47
- auto stream = oatpp::data::stream::ChunkedBuffer::createShared();
+ oatpp::data::stream::ChunkedBuffer stream;
48
stream << "host=" << dbHost << " user=" << dbUser << " password=" << dbPassword << " dbname=" << dbName;
49
- m_connectionString = stream->toString();
+ m_connectionString = stream.toString();
50
}
51
52
Database::~Database() {
0 commit comments