[mlpack-git] master, mlpack-1.0.x: Fix header guard names. This is an incredibly pedantic fix. (93adc78)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:48:03 EST 2015


Repository : https://github.com/mlpack/mlpack

On branches: master,mlpack-1.0.x
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

>---------------------------------------------------------------

commit 93adc781cd7cd8f077637e3502ba50a6d27fe423
Author: Ryan Curtin <ryan at ratml.org>
Date:   Tue May 27 03:40:35 2014 +0000

    Fix header guard names.  This is an incredibly pedantic fix.


>---------------------------------------------------------------

93adc781cd7cd8f077637e3502ba50a6d27fe423
 src/mlpack/core/util/log.hpp                    | 4 ++--
 src/mlpack/core/util/option.hpp                 | 4 ++--
 src/mlpack/core/util/option_impl.hpp            | 4 ++--
 src/mlpack/core/util/prefixedoutstream.hpp      | 4 ++--
 src/mlpack/core/util/prefixedoutstream_impl.hpp | 4 ++--
 src/mlpack/core/util/save_restore_utility.hpp   | 4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/mlpack/core/util/log.hpp b/src/mlpack/core/util/log.hpp
index a24f50c..a3275fd 100644
--- a/src/mlpack/core/util/log.hpp
+++ b/src/mlpack/core/util/log.hpp
@@ -4,8 +4,8 @@
  *
  * Definition of the Log class.
  */
-#ifndef __MLPACK_CORE_IO_LOG_HPP
-#define __MLPACK_CORE_IO_LOG_HPP
+#ifndef __MLPACK_CORE_UTIL_LOG_HPP
+#define __MLPACK_CORE_UTIL_LOG_HPP
 
 #include <string>
 
diff --git a/src/mlpack/core/util/option.hpp b/src/mlpack/core/util/option.hpp
index 602d608..52b03d4 100644
--- a/src/mlpack/core/util/option.hpp
+++ b/src/mlpack/core/util/option.hpp
@@ -5,8 +5,8 @@
  * Definition of the Option class, which is used to define parameters which are
  * used by CLI.  The ProgramDoc class also resides here.
  */
-#ifndef __MLPACK_CORE_IO_OPTION_HPP
-#define __MLPACK_CORE_IO_OPTION_HPP
+#ifndef __MLPACK_CORE_UTIL_OPTION_HPP
+#define __MLPACK_CORE_UTIL_OPTION_HPP
 
 #include <string>
 
diff --git a/src/mlpack/core/util/option_impl.hpp b/src/mlpack/core/util/option_impl.hpp
index 4f6a044..4bc7dc5 100644
--- a/src/mlpack/core/util/option_impl.hpp
+++ b/src/mlpack/core/util/option_impl.hpp
@@ -4,8 +4,8 @@
  *
  * Implementation of template functions for the Option class.
  */
-#ifndef __MLPACK_CORE_IO_OPTION_IMPL_HPP
-#define __MLPACK_CORE_IO_OPTION_IMPL_HPP
+#ifndef __MLPACK_CORE_UTIL_OPTION_IMPL_HPP
+#define __MLPACK_CORE_UTIL_OPTION_IMPL_HPP
 
 // Just in case it has not been included.
 #include "option.hpp"
diff --git a/src/mlpack/core/util/prefixedoutstream.hpp b/src/mlpack/core/util/prefixedoutstream.hpp
index b088273..61f873a 100644
--- a/src/mlpack/core/util/prefixedoutstream.hpp
+++ b/src/mlpack/core/util/prefixedoutstream.hpp
@@ -5,8 +5,8 @@
  *
  * Declaration of the PrefixedOutStream class.
  */
-#ifndef __MLPACK_CORE_IO_PREFIXEDOUTSTREAM_HPP
-#define __MLPACK_CORE_IO_PREFIXEDOUTSTREAM_HPP
+#ifndef __MLPACK_CORE_UTIL_PREFIXEDOUTSTREAM_HPP
+#define __MLPACK_CORE_UTIL_PREFIXEDOUTSTREAM_HPP
 
 #include <iostream>
 #include <iomanip>
diff --git a/src/mlpack/core/util/prefixedoutstream_impl.hpp b/src/mlpack/core/util/prefixedoutstream_impl.hpp
index 60b602e..cbadfda 100644
--- a/src/mlpack/core/util/prefixedoutstream_impl.hpp
+++ b/src/mlpack/core/util/prefixedoutstream_impl.hpp
@@ -5,8 +5,8 @@
  *
  * Implementation of templated PrefixedOutStream member functions.
  */
-#ifndef __MLPACK_CORE_IO_PREFIXEDOUTSTREAM_IMPL_HPP
-#define __MLPACK_CORE_IO_PREFIXEDOUTSTREAM_IMPL_HPP
+#ifndef __MLPACK_CORE_UTIL_PREFIXEDOUTSTREAM_IMPL_HPP
+#define __MLPACK_CORE_UTIL_PREFIXEDOUTSTREAM_IMPL_HPP
 
 // Just in case it hasn't been included.
 #include "prefixedoutstream.hpp"
diff --git a/src/mlpack/core/util/save_restore_utility.hpp b/src/mlpack/core/util/save_restore_utility.hpp
index d784794..d27e7f2 100644
--- a/src/mlpack/core/util/save_restore_utility.hpp
+++ b/src/mlpack/core/util/save_restore_utility.hpp
@@ -7,8 +7,8 @@
  *
  * @experimental
  */
-#ifndef __MLPACK_CORE_UTIL_SAVE_RESTORE_MODEL_HPP
-#define __MLPACK_CORE_UTIL_SAVE_RESTORE_MODEL_HPP
+#ifndef __MLPACK_CORE_UTIL_SAVE_RESTORE_UTILITY_HPP
+#define __MLPACK_CORE_UTIL_SAVE_RESTORE_UTILITY_HPP
 
 #include <mlpack/prereqs.hpp>
 #include <list>



More information about the mlpack-git mailing list