mirror of
https://github.com/tristanpenman/valijson.git
synced 2024-12-12 10:13:51 +01:00
Merge pull request #1 from richardc/boost.1.56
Fix compatibility with boost 1.56+
This commit is contained in:
commit
701dff66ed
@ -174,7 +174,7 @@ public:
|
||||
*/
|
||||
bool hasId() const
|
||||
{
|
||||
return id;
|
||||
return id != boost::none;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -185,7 +185,7 @@ public:
|
||||
*/
|
||||
bool hasTitle() const
|
||||
{
|
||||
return title;
|
||||
return title != boost::none;
|
||||
}
|
||||
|
||||
std::string resolveUri(const std::string &relative) const
|
||||
|
Loading…
Reference in New Issue
Block a user