summaryrefslogtreecommitdiff
blob: 9b0f09705407cd3f89201da821ed5bd4c3cd3888 (plain)
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
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.2.2