Kaydet (Commit) 2ffd377f authored tarafından Tor Lillqvist's avatar Tor Lillqvist

std::min comes from <algorithm>

Fixes configuration error in libvisio.

Change-Id: I6a6f743eca5fdfc990aadd69406b21d3ccdc6435
üst 8079326b
......@@ -40,6 +40,7 @@ boost_patches += boost.auto_link.patch
boost_patches += boost.endian.patch
boost_patches += boost.loplugin.patch
boost_patches += boost.std.move.patch
boost_patches += boost.transform_width.patch
boost_patches += boost.wundef.patch
boost_patches += boost.wunused.patch
boost_patches += boost.wshadow.patch
......
--- foo/foo/foo/boost/archive/iterators/transform_width.hpp
+++ foo/foo/foo/boost/archive/iterators/transform_width.hpp
@@ -23,6 +23,8 @@
// stream length is some common multiple of x and y. E.G. Base64 6 bit
// character and 8 bit bytes. Lowest common multiple is 24 => 4 6 bit characters
// or 3 8 bit characters
+
+#include <algorithm>
#include <boost/config.hpp> // for BOOST_DEDUCED_TYPENAME & PTFO
#include <boost/serialization/pfto.hpp>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment