summaryrefslogtreecommitdiffstats
path: root/source/l/boost/boost.f61dd9c5324d8439c52764c7aebaac7d0d4b7128.patch
blob: 0090bf04231c3a12e9a7824103598c6651e153a3 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From f61dd9c5324d8439c52764c7aebaac7d0d4b7128 Mon Sep 17 00:00:00 2001
From: David Seifert <soap@gentoo.org>
Date: Sat, 21 Dec 2019 14:02:13 +0100
Subject: [PATCH] Fix missing `boost/serialization/split_member.hpp` include

* As suggested by @glenfe and @robertramey in
  https://github.com/boostorg/serialization/commit/c32a663c9963385430abc563f9c85f94d8da43a9#r36528430,
  the `boost/serialization/split_member.hpp` include is not part
  of the interface and consumers should not rely on it being
  included.

Fixes lightspark/lightspark#406
Fixes https://bugs.gentoo.org/703294
---
 include/boost/bimap/detail/map_view_iterator.hpp | 1 +
 include/boost/bimap/detail/set_view_iterator.hpp | 1 +
 2 files changed, 2 insertions(+)

diff --git a/include/boost/bimap/detail/map_view_iterator.hpp b/include/boost/bimap/detail/map_view_iterator.hpp
index 17d43cb..4af8484 100644
--- a/include/boost/bimap/detail/map_view_iterator.hpp
+++ b/include/boost/bimap/detail/map_view_iterator.hpp
@@ -22,6 +22,7 @@
 
 #ifndef BOOST_BIMAP_DISABLE_SERIALIZATION
   #include <boost/serialization/nvp.hpp>
+  #include <boost/serialization/split_member.hpp>
 #endif // BOOST_BIMAP_DISABLE_SERIALIZATION
 
 #include <boost/iterator/detail/enable_if.hpp>
diff --git a/include/boost/bimap/detail/set_view_iterator.hpp b/include/boost/bimap/detail/set_view_iterator.hpp
index e785ed7..b1e2dfa 100644
--- a/include/boost/bimap/detail/set_view_iterator.hpp
+++ b/include/boost/bimap/detail/set_view_iterator.hpp
@@ -22,6 +22,7 @@
 
 #ifndef BOOST_BIMAP_DISABLE_SERIALIZATION 
   #include <boost/serialization/nvp.hpp>
+  #include <boost/serialization/split_member.hpp>
 #endif // BOOST_BIMAP_DISABLE_SERIALIZATION
 
 #include <boost/iterator/detail/enable_if.hpp>