mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 19:51:58 +01:00
SF #97 fix c++0x / clang++ bugs
This commit is contained in:
@@ -18,6 +18,9 @@ Release 1.5.0 (2012-12-17)
|
|||||||
- fixed GH #31: JSON implementation bug
|
- fixed GH #31: JSON implementation bug
|
||||||
- fixed SF #597: Configure script ignores cflags
|
- fixed SF #597: Configure script ignores cflags
|
||||||
- fixed SF #593: Poco 1.5.0 on FreeBSD: cannot find -ldl
|
- 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)
|
Release 1.5.0 (2012-10-14)
|
||||||
==========================
|
==========================
|
||||||
|
|||||||
@@ -48,6 +48,8 @@
|
|||||||
#include "Poco/Data/Constants.h"
|
#include "Poco/Data/Constants.h"
|
||||||
#include "Poco/Data/Date.h"
|
#include "Poco/Data/Date.h"
|
||||||
#include "Poco/Data/Time.h"
|
#include "Poco/Data/Time.h"
|
||||||
|
#include "Poco/Data/Date.h"
|
||||||
|
#include "Poco/Data/Time.h"
|
||||||
#include "Poco/Any.h"
|
#include "Poco/Any.h"
|
||||||
#include "Poco/DynamicAny.h"
|
#include "Poco/DynamicAny.h"
|
||||||
#include "sqlite3.h"
|
#include "sqlite3.h"
|
||||||
|
|||||||
@@ -45,6 +45,7 @@
|
|||||||
#include "Poco/Dynamic/VarHolder.h"
|
#include "Poco/Dynamic/VarHolder.h"
|
||||||
#include "Poco/Exception.h"
|
#include "Poco/Exception.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
|
|
||||||
namespace Poco {
|
namespace Poco {
|
||||||
@@ -221,6 +222,7 @@ inline void swap(LOB<T>& b1, LOB<T>& b2)
|
|||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
|
using std::swap;
|
||||||
template<>
|
template<>
|
||||||
inline void swap<Poco::Data::BLOB>(Poco::Data::BLOB& b1,
|
inline void swap<Poco::Data::BLOB>(Poco::Data::BLOB& b1,
|
||||||
Poco::Data::BLOB& b2)
|
Poco::Data::BLOB& b2)
|
||||||
|
|||||||
@@ -44,6 +44,7 @@
|
|||||||
#include "Poco/Data/Row.h"
|
#include "Poco/Data/Row.h"
|
||||||
#include "Poco/Dynamic/Var.h"
|
#include "Poco/Dynamic/Var.h"
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
|
|
||||||
namespace Poco {
|
namespace Poco {
|
||||||
@@ -158,6 +159,7 @@ inline bool RowIterator::operator != (const RowIterator& other) const
|
|||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
|
using std::swap;
|
||||||
template<>
|
template<>
|
||||||
inline void swap<Poco::Data::RowIterator>(Poco::Data::RowIterator& s1,
|
inline void swap<Poco::Data::RowIterator>(Poco::Data::RowIterator& s1,
|
||||||
Poco::Data::RowIterator& s2)
|
Poco::Data::RowIterator& s2)
|
||||||
|
|||||||
@@ -47,6 +47,7 @@
|
|||||||
#include "Poco/Data/Binding.h"
|
#include "Poco/Data/Binding.h"
|
||||||
#include "Poco/AutoPtr.h"
|
#include "Poco/AutoPtr.h"
|
||||||
#include "Poco/Any.h"
|
#include "Poco/Any.h"
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
|
|
||||||
namespace Poco {
|
namespace Poco {
|
||||||
@@ -502,6 +503,7 @@ inline void swap(Session& s1, Session& s2)
|
|||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
|
using std::swap;
|
||||||
template<>
|
template<>
|
||||||
inline void swap<Poco::Data::Session>(Poco::Data::Session& s1,
|
inline void swap<Poco::Data::Session>(Poco::Data::Session& s1,
|
||||||
Poco::Data::Session& s2)
|
Poco::Data::Session& s2)
|
||||||
|
|||||||
@@ -51,6 +51,7 @@
|
|||||||
#include "Poco/ActiveMethod.h"
|
#include "Poco/ActiveMethod.h"
|
||||||
#include "Poco/ActiveResult.h"
|
#include "Poco/ActiveResult.h"
|
||||||
#include "Poco/Format.h"
|
#include "Poco/Format.h"
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
|
|
||||||
namespace Poco {
|
namespace Poco {
|
||||||
@@ -834,6 +835,7 @@ inline void swap(Statement& s1, Statement& s2)
|
|||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
|
using std::swap;
|
||||||
template<>
|
template<>
|
||||||
inline void swap<Poco::Data::Statement>(Poco::Data::Statement& s1,
|
inline void swap<Poco::Data::Statement>(Poco::Data::Statement& s1,
|
||||||
Poco::Data::Statement& s2)
|
Poco::Data::Statement& s2)
|
||||||
|
|||||||
Reference in New Issue
Block a user