X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fprops%2Fprops.hxx;h=b9ba6495e2858d8ce51a4e591931d08608778351;hb=2e93b06ac0874f1cee1e22dc30777a0066ef289b;hp=984bb1b5717b37657b03ff9db88714910a39ca4c;hpb=5991195062dad2bd11962eb52a49127e5a636b10;p=simgear.git diff --git a/simgear/props/props.hxx b/simgear/props/props.hxx index 984bb1b5..b9ba6495 100644 --- a/simgear/props/props.hxx +++ b/simgear/props/props.hxx @@ -994,7 +994,7 @@ public: /** * Get the path to this node from the root. */ - const char * getPath (bool simplify = false) const; + std::string getPath (bool simplify = false) const; /** @@ -1675,7 +1675,6 @@ private: simgear::PropertyList _children; simgear::PropertyList _removedChildren; std::vector _linkedNodes; - mutable std::string _path; mutable std::string _buffer; hash_table * _path_cache; simgear::props::Type _type;