[mlpack] 110/207: Remove default type void from std::enable_if in prefixedoutstream.hpp

Barak A. Pearlmutter barak+git at pearlmutter.net
Thu Mar 23 17:53:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch master
in repository mlpack.

commit ea2f548a7af7e40970b58f6a9c40bc435b4f7479
Author: shikhar <shikharbhardwaj68 at gmail.com>
Date:   Sat Mar 4 13:25:05 2017 +0530

    Remove default type void from std::enable_if in prefixedoutstream.hpp
---
 src/mlpack/core/util/prefixedoutstream.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/core/util/prefixedoutstream.hpp b/src/mlpack/core/util/prefixedoutstream.hpp
index 3b7c824..dfe3bd3 100644
--- a/src/mlpack/core/util/prefixedoutstream.hpp
+++ b/src/mlpack/core/util/prefixedoutstream.hpp
@@ -125,11 +125,11 @@ class PrefixedOutStream
    * @param val The The data to be output.
    */
   template<typename T>
-  typename std::enable_if<!arma::is_arma_type<T>::value, void>::type
+  typename std::enable_if<!arma::is_arma_type<T>::value>::type
   BaseLogic(const T& val);
 
   template<typename T>
-  typename std::enable_if<arma::is_arma_type<T>::value, void>::type
+  typename std::enable_if<arma::is_arma_type<T>::value>::type
   BaseLogic(const T& val);
 
   /**

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list