From 0d57f8b00f5e51b6f73e5d76d39b0775bdf87fc2 Mon Sep 17 00:00:00 2001 From: Aleksandar Fabijanic Date: Sat, 20 Jun 2009 11:46:43 +0000 Subject: [PATCH] [SF 2809131] SessionPool compile failure, part II --- Data/include/Poco/Data/SessionPool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data/include/Poco/Data/SessionPool.h b/Data/include/Poco/Data/SessionPool.h index 47e6d6bae..156f6263c 100644 --- a/Data/include/Poco/Data/SessionPool.h +++ b/Data/include/Poco/Data/SessionPool.h @@ -122,7 +122,7 @@ public: /// value, in which case it is reset back to the pool /// value when the session is reclaimed by the pool. { - Session& s = get(); + Session s = get(); _addPropertyMap.insert(AddPropertyMap::value_type(s.impl(), std::make_pair(name, s.getProperty(name)))); s.setProperty(name, value);