aports/testing/mdds/fix-includes.patch
Timo Teräs 422244b906 testing/mdds: new aport
Multi-dimentional data index algorithm
https://code.google.com/p/multidimalgorithm/
2015-02-03 17:29:18 +00:00

23 lines
786 B
Diff

https://code.google.com/p/multidimalgorithm/source/detail?r=c45e0499dded11dc2aacea40b470ab1431ea535a
diff -ru mdds_0.11.2.orig/include/mdds/multi_type_vector_types.hpp mdds_0.11.2/include/mdds/multi_type_vector_types.hpp
--- mdds_0.11.2.orig/include/mdds/multi_type_vector_types.hpp 2014-12-18 20:05:56.187026008 +0000
+++ mdds_0.11.2/include/mdds/multi_type_vector_types.hpp 2015-02-03 12:36:08.172570111 +0000
@@ -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;