mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
@@ -16,17 +16,18 @@
|
||||
|
||||
// VFALCO TODO Clean this up
|
||||
|
||||
#ifdef BOOST_NO_AUTO_PTR
|
||||
# define UPTR_T std::auto_ptr
|
||||
#else
|
||||
# define UPTR_T std::unique_ptr
|
||||
#endif
|
||||
|
||||
#if (!defined(FORCE_NO_C11X) && (__cplusplus > 201100L)) || defined(FORCE_C11X)
|
||||
//#define C11X
|
||||
|
||||
// VFALCO TODO Get rid of the C11X macro
|
||||
#define C11X
|
||||
#define UPTR_T std::unique_ptr
|
||||
#define MOVE_P(p) std::move(p)
|
||||
|
||||
#else
|
||||
|
||||
#define UPTR_T std::auto_ptr
|
||||
#define MOVE_P(p) (p)
|
||||
|
||||
#endif
|
||||
|
||||
// VFALCO TODO Clean this stuff up. Remove as much as possible
|
||||
|
||||
Reference in New Issue
Block a user