Replace boost::next with std::next
This commit is contained in:
parent
aa30edb3aa
commit
86610fcb75
@ -1,5 +1,5 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <boost/smart_ptr/shared_ptr.hpp>
|
#include <iterator>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#include "yaml-cpp/exceptions.h"
|
#include "yaml-cpp/exceptions.h"
|
||||||
@ -104,7 +104,7 @@ void node_data::compute_seq_size() const {
|
|||||||
void node_data::compute_map_size() const {
|
void node_data::compute_map_size() const {
|
||||||
kv_pairs::iterator it = m_undefinedPairs.begin();
|
kv_pairs::iterator it = m_undefinedPairs.begin();
|
||||||
while (it != m_undefinedPairs.end()) {
|
while (it != m_undefinedPairs.end()) {
|
||||||
kv_pairs::iterator jt = boost::next(it);
|
kv_pairs::iterator jt = std::next(it);
|
||||||
if (it->first->is_defined() && it->second->is_defined())
|
if (it->first->is_defined() && it->second->is_defined())
|
||||||
m_undefinedPairs.erase(it);
|
m_undefinedPairs.erase(it);
|
||||||
it = jt;
|
it = jt;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user