X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cd7c99997320509f64f9a11948573f0a0d3e2b82..a950964746f6cebea710308f7dba68bdfb424694:/include/xbt/PropertyHolder.hpp diff --git a/include/xbt/PropertyHolder.hpp b/include/xbt/PropertyHolder.hpp index 763fd29a84..ee00199114 100644 --- a/include/xbt/PropertyHolder.hpp +++ b/include/xbt/PropertyHolder.hpp @@ -18,6 +18,7 @@ namespace xbt { * Common PropertyHolders are elements of the platform file, such as Host, Link or Storage. */ class PropertyHolder { // DO NOT DERIVE THIS CLASS, or the diamond inheritance mayhem will get you + std::unique_ptr> properties_ = nullptr; public: PropertyHolder() = default; @@ -29,9 +30,6 @@ public: const std::unordered_map* get_properties(); template void set_properties(const Assoc& properties); - -private: - std::unique_ptr> properties_ = nullptr; }; } // namespace xbt