fix requested items
This commit is contained in:
parent
a4512d5de7
commit
dc215eddf6
@ -81,7 +81,7 @@ class YAML_CPP_API node_data {
|
|||||||
shared_memory_holder pMemory);
|
shared_memory_holder pMemory);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static std::string& empty_scalar();
|
static const std::string& empty_scalar();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void compute_seq_size() const;
|
void compute_seq_size() const;
|
||||||
|
|||||||
@ -13,9 +13,9 @@
|
|||||||
namespace YAML {
|
namespace YAML {
|
||||||
namespace detail {
|
namespace detail {
|
||||||
|
|
||||||
std::string& node_data::empty_scalar(){
|
const std::string& node_data::empty_scalar() {
|
||||||
static std::string _es;
|
static const std::string svalue;
|
||||||
return _es ;
|
return svalue ;
|
||||||
}
|
}
|
||||||
|
|
||||||
node_data::node_data()
|
node_data::node_data()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user