mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 12:18:01 +01:00
SF #97 fix c++0x / clang++ bugs
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user