SF #97 fix c++0x / clang++ bugs

This commit is contained in:
Alex 2012-12-11 22:29:17 -06:00
parent 7529891713
commit 560908b715
6 changed files with 13 additions and 0 deletions

View File

@ -18,6 +18,9 @@ Release 1.5.0 (2012-12-17)
- fixed GH #31: JSON implementation bug
- fixed SF #597: Configure script ignores cflags
- fixed SF #593: Poco 1.5.0 on FreeBSD: cannot find -ldl
- added SF #542: SocketAddress() needs port-only constructor
- fixed SF #215: Wrong return type in SocketConnector.h
- applied SF Patch #97: fix c++0x / clang++ bugs
Release 1.5.0 (2012-10-14)
==========================

View File

@ -48,6 +48,8 @@
#include "Poco/Data/Constants.h"
#include "Poco/Data/Date.h"
#include "Poco/Data/Time.h"
#include "Poco/Data/Date.h"
#include "Poco/Data/Time.h"
#include "Poco/Any.h"
#include "Poco/DynamicAny.h"
#include "sqlite3.h"

View File

@ -45,6 +45,7 @@
#include "Poco/Dynamic/VarHolder.h"
#include "Poco/Exception.h"
#include <vector>
#include <algorithm>
namespace Poco {
@ -221,6 +222,7 @@ inline void swap(LOB<T>& b1, LOB<T>& b2)
namespace std
{
using std::swap;
template<>
inline void swap<Poco::Data::BLOB>(Poco::Data::BLOB& b1,
Poco::Data::BLOB& b2)

View File

@ -44,6 +44,7 @@
#include "Poco/Data/Row.h"
#include "Poco/Dynamic/Var.h"
#include <iterator>
#include <algorithm>
namespace Poco {
@ -158,6 +159,7 @@ inline bool RowIterator::operator != (const RowIterator& other) const
namespace std
{
using std::swap;
template<>
inline void swap<Poco::Data::RowIterator>(Poco::Data::RowIterator& s1,
Poco::Data::RowIterator& s2)

View File

@ -47,6 +47,7 @@
#include "Poco/Data/Binding.h"
#include "Poco/AutoPtr.h"
#include "Poco/Any.h"
#include <algorithm>
namespace Poco {
@ -502,6 +503,7 @@ inline void swap(Session& s1, Session& s2)
namespace std
{
using std::swap;
template<>
inline void swap<Poco::Data::Session>(Poco::Data::Session& s1,
Poco::Data::Session& s2)

View File

@ -51,6 +51,7 @@
#include "Poco/ActiveMethod.h"
#include "Poco/ActiveResult.h"
#include "Poco/Format.h"
#include <algorithm>
namespace Poco {
@ -834,6 +835,7 @@ inline void swap(Statement& s1, Statement& s2)
namespace std
{
using std::swap;
template<>
inline void swap<Poco::Data::Statement>(Poco::Data::Statement& s1,
Poco::Data::Statement& s2)