stdair/stdair-fix-protected-pointe...

67 lines
1.7 KiB
Diff

diff --git a/stdair/bom/FlightDate.hpp b/stdair/bom/FlightDate.hpp
index cf031fd..f63d0b4 100644
--- a/stdair/bom/FlightDate.hpp
+++ b/stdair/bom/FlightDate.hpp
@@ -194,6 +194,10 @@ namespace stdair {
/**
* Destructor.
*/
+ // (Bad) work-around for an issue with Boost 1.63 Serialization
+#if BOOST_VERSION == 106300
+ public:
+#endif
virtual ~FlightDate();
private:
diff --git a/stdair/bom/Inventory.hpp b/stdair/bom/Inventory.hpp
index 76253bd..f97a57b 100644
--- a/stdair/bom/Inventory.hpp
+++ b/stdair/bom/Inventory.hpp
@@ -180,10 +180,15 @@ namespace stdair {
* Constructor.
*/
Inventory (const Key_T&);
+
/**
* Destructor.
*/
- ~Inventory();
+ // (Bad) work-around for an issue with Boost 1.63 Serialization
+#if BOOST_VERSION == 106300
+ public:
+#endif
+ virtual ~Inventory();
private:
/**
diff --git a/stdair/bom/SegmentCabin.hpp b/stdair/bom/SegmentCabin.hpp
index acf007e..62fa195 100644
--- a/stdair/bom/SegmentCabin.hpp
+++ b/stdair/bom/SegmentCabin.hpp
@@ -278,6 +278,10 @@ namespace stdair {
/**
* Destructor.
*/
+ // (Bad) work-around for an issue with Boost 1.63 Serialization
+#if BOOST_VERSION == 106300
+ public:
+#endif
virtual ~SegmentCabin();
private:
diff --git a/stdair/bom/SegmentDate.hpp b/stdair/bom/SegmentDate.hpp
index 4220348..b7d1ca3 100644
--- a/stdair/bom/SegmentDate.hpp
+++ b/stdair/bom/SegmentDate.hpp
@@ -285,6 +285,10 @@ namespace stdair {
/**
* Destructor.
*/
+ // (Bad) work-around for an issue with Boost 1.63 Serialization
+#if BOOST_VERSION == 106300
+ public:
+#endif
virtual ~SegmentDate();
private: