parent
0d8869a0c6
commit
9b11ee931a
@ -0,0 +1,33 @@
|
||||
From c45e0499dded11dc2aacea40b470ab1431ea535a Mon Sep 17 00:00:00 2001
|
||||
From: David Tardon <dtardon@redhat.com>
|
||||
Date: Thu, 29 Jan 2015 10:04:56 +0100
|
||||
Subject: [PATCH] <algorithm> is needed unconditionally
|
||||
|
||||
---
|
||||
include/mdds/multi_type_vector_types.hpp | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/mdds/multi_type_vector_types.hpp b/include/mdds/multi_type_vector_types.hpp
|
||||
index db8d584..0a36333 100644
|
||||
--- a/include/mdds/multi_type_vector_types.hpp
|
||||
+++ b/include/mdds/multi_type_vector_types.hpp
|
||||
@@ -32,6 +32,8 @@
|
||||
#include "compat/unique_ptr.hpp"
|
||||
#include "global.hpp"
|
||||
|
||||
+#include <algorithm>
|
||||
+
|
||||
#ifdef MDDS_MULTI_TYPE_VECTOR_USE_DEQUE
|
||||
#include <deque>
|
||||
#else
|
||||
@@ -40,7 +42,6 @@
|
||||
#include <boost/noncopyable.hpp>
|
||||
|
||||
#if defined(MDDS_UNIT_TEST) || defined (MDDS_MULTI_TYPE_VECTOR_DEBUG)
|
||||
-#include <algorithm>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
using std::cout;
|
||||
--
|
||||
2.1.0
|
||||
|
Loading…
Reference in new issue