macro renamed: PT_HAS_MORM -> PT_HAS_MORM_LIBRARY
TextStream::to_string(...) is now TextStream::to_str(...) added: std::string TextStream::to_str() const; added: std::wstring TextStream::to_wstr() const;
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
#include "date/date.h"
|
||||
#include "utf8/utf8.h"
|
||||
|
||||
#ifdef PT_HAS_MORM
|
||||
#ifdef PT_HAS_MORM_LIBRARY
|
||||
#include "morm.h"
|
||||
#endif
|
||||
|
||||
@@ -313,7 +313,7 @@ Log & Log::operator<<(const Date & date)
|
||||
}
|
||||
|
||||
|
||||
#ifdef PT_HAS_MORM
|
||||
#ifdef PT_HAS_MORM_LIBRARY
|
||||
Log & Log::operator<<(morm::Model & model)
|
||||
{
|
||||
operator<<(model.to_string());
|
||||
|
@@ -131,7 +131,7 @@ public:
|
||||
virtual Log & operator<<(const Space & space);
|
||||
virtual Log & operator<<(const Date & date);
|
||||
|
||||
#ifdef PT_HAS_MORM
|
||||
#ifdef PT_HAS_MORM_LIBRARY
|
||||
virtual Log & operator<<(morm::Model & model);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user