Move a typedef in utils.h
This commit is contained in:
parent
bfd9ecf2af
commit
ef3adb5fe0
1 changed files with 4 additions and 4 deletions
|
|
@ -72,7 +72,11 @@
|
||||||
namespace ledger {
|
namespace ledger {
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
|
|
||||||
|
#if defined(VERIFY_ON) || defined(HAVE_BOOST_PYTHON)
|
||||||
class string;
|
class string;
|
||||||
|
#else
|
||||||
|
typedef std::string string;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef std::list<string> strings_list;
|
typedef std::list<string> strings_list;
|
||||||
|
|
||||||
|
|
@ -255,10 +259,6 @@ inline bool operator!=(const char* __lhs, const string& __rhs)
|
||||||
inline bool operator!=(const string& __lhs, const char* __rhs)
|
inline bool operator!=(const string& __lhs, const char* __rhs)
|
||||||
{ return __lhs.compare(__rhs) != 0; }
|
{ return __lhs.compare(__rhs) != 0; }
|
||||||
|
|
||||||
#else // defined(VERIFY_ON) || defined(HAVE_BOOST_PYTHON)
|
|
||||||
|
|
||||||
typedef std::string string;
|
|
||||||
|
|
||||||
#endif // defined(VERIFY_ON) || defined(HAVE_BOOST_PYTHON)
|
#endif // defined(VERIFY_ON) || defined(HAVE_BOOST_PYTHON)
|
||||||
|
|
||||||
extern string empty_string;
|
extern string empty_string;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue