Changeset - 0f8487611871
[Not reviewed]
0 1 0
Steffen Vogel - 8 years ago 2017-10-30 16:55:36
post@steffenvogel.de
fix typo in compatability macro
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
include/Swiften/SwiftenCompat.h
Show inline comments
 
@@ -33,16 +33,16 @@
 
 *
 
 * This is due to Swift 4 moved from boost::shared_ptr to SWIFTEN_SHRPTR_NAMESPACE::shared_ptr
 
 * and from boost::signals to boost::signals2 .
 
 */
 

	
 
#if (SWIFTEN_VERSION >= 0x040000)
 
#define SWIFTEN_UNQPTR std::unique_ptr
 
#define SWIFTEN_UNIQUE_PTR std::unique_ptr
 
#define SWIFTEN_SHRPTR_NAMESPACE std
 
#define SWIFTEN_SIGNAL_NAMESPACE boost::signals2
 
#define SWIFT_HOSTADDRESS(x) *(Swift::HostAddress::fromString(x))
 
#else
 
#define SWIFTEN_UNQPTR std::auto_ptr
 
#define SWIFTEN_UNIQUE_PTR std::auto_ptr
 
#define SWIFTEN_SHRPTR_NAMESPACE boost
 
#define SWIFTEN_SIGNAL_NAMESPACE boost::signals
 
#define SWIFT_HOSTADDRESS(x) Swift::HostAddress(x)
 
#endif
0 comments (0 inline, 0 general)