From 9138324f0160dec26d7a42eeed1f1e62b8d98739 Mon Sep 17 00:00:00 2001 From: Howard Butler Date: Tue, 15 May 2012 12:56:20 -0500 Subject: [PATCH] add recursive_wrapper to Variant type to be stored inside of Metadata instances --- include/pdal/Metadata.hpp | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/include/pdal/Metadata.hpp b/include/pdal/Metadata.hpp index cb0b03f142..ccde6233f0 100644 --- a/include/pdal/Metadata.hpp +++ b/include/pdal/Metadata.hpp @@ -167,23 +167,23 @@ enum Type }; -typedef boost::variant< -bool, -float, -double, -boost::int8_t, -boost::uint8_t, -boost::int16_t, -boost::uint16_t, -boost::int32_t, -boost::uint32_t, -boost::int64_t, -boost::uint64_t, -boost::uuids::uuid, -std::string, -pdal::ByteArray, -pdal::SpatialReference, -pdal::Bounds > Variant; +typedef boost::variant< bool, + float, + double, + boost::int8_t, + boost::uint8_t, + boost::int16_t, + boost::uint16_t, + boost::int32_t, + boost::uint32_t, + boost::int64_t, + boost::uint64_t, + boost::uuids::uuid, + std::string, + pdal::ByteArray, + pdal::SpatialReference, + pdal::Bounds, + boost::recursive_wrapper > Variant;