[mlpack-git] master: Move <tuple> to standard include. (c20195c)
gitdub at mlpack.org
gitdub at mlpack.org
Fri Apr 22 09:00:42 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/b08ae02b90e18f97366b236e7a4d8725cd6e9050...213a04d31645134b61aa7d3702360bb34796d7de
>---------------------------------------------------------------
commit c20195c1412cfa163e4feaaa8fd8544c7b3a12a6
Author: Ryan Curtin <ryan at ratml.org>
Date: Fri Apr 22 09:00:42 2016 -0400
Move <tuple> to standard include.
We will probably use it again in other mlpack classes.
>---------------------------------------------------------------
c20195c1412cfa163e4feaaa8fd8544c7b3a12a6
src/mlpack/core/util/split_data.hpp | 2 --
src/mlpack/prereqs.hpp | 1 +
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/mlpack/core/util/split_data.hpp b/src/mlpack/core/util/split_data.hpp
index 1ddd3a7..e53299f 100644
--- a/src/mlpack/core/util/split_data.hpp
+++ b/src/mlpack/core/util/split_data.hpp
@@ -3,8 +3,6 @@
#include <mlpack/core.hpp>
-#include <tuple>
-
namespace mlpack {
namespace util {
diff --git a/src/mlpack/prereqs.hpp b/src/mlpack/prereqs.hpp
index cf727dc..0282892 100644
--- a/src/mlpack/prereqs.hpp
+++ b/src/mlpack/prereqs.hpp
@@ -23,6 +23,7 @@
#include <cstdint>
#include <iostream>
#include <stdexcept>
+#include <tuple>
// Defining _USE_MATH_DEFINES should set M_PI.
#define _USE_MATH_DEFINES
More information about the mlpack-git
mailing list