mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 04:17:55 +01:00
minor performance improvement, better workaround for clang issue with handle property
This commit is contained in:
@@ -67,7 +67,7 @@ SessionImpl::SessionImpl(const std::string& fileName, std::size_t loginTimeout):
|
||||
{
|
||||
open();
|
||||
setConnectionTimeout(CONNECTION_TIMEOUT_DEFAULT);
|
||||
setProperty("handle", _pDB);
|
||||
setProperty("handle", static_cast<void*>(_pDB));
|
||||
addFeature("autoCommit",
|
||||
&SessionImpl::autoCommit,
|
||||
&SessionImpl::isAutoCommit);
|
||||
|
||||
Reference in New Issue
Block a user