[mlpack] 285/324: Remove duplicate declaration of ReadFile() to fix the failing build.

Barak A. Pearlmutter barak+git at cs.nuim.ie
Sun Aug 17 08:22:19 UTC 2014


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

bap pushed a commit to branch svn-trunk
in repository mlpack.

commit 126bdb6a70d90d56acf6583ab6403085c42df03b
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Tue Aug 5 14:42:16 2014 +0000

    Remove duplicate declaration of ReadFile() to fix the failing build.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16969 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/core/util/save_restore_utility.hpp | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/src/mlpack/core/util/save_restore_utility.hpp b/src/mlpack/core/util/save_restore_utility.hpp
index 1b878f8..4e99991 100644
--- a/src/mlpack/core/util/save_restore_utility.hpp
+++ b/src/mlpack/core/util/save_restore_utility.hpp
@@ -44,7 +44,7 @@ class SaveRestoreUtility
   void RecurseOnNodes(xmlNode* n);
 
  public:
-    
+
   SaveRestoreUtility() {}
   ~SaveRestoreUtility() { parameters.clear(); }
 
@@ -107,35 +107,34 @@ class SaveRestoreUtility
    * SaveParameter saves an arma::mat to the parameters map.
    */
   void SaveParameter(const arma::mat& mat, const std::string& name);
-    
+
   /**
    * SaveSubModel saves a SaveRestoreUtility to the children map.
    */
   void AddChild(SaveRestoreUtility& mn, const std::string& name);
-  
+
   /**
    * Return the children.
    */
   const std::map<std::string, SaveRestoreUtility> Children() const { return
     children; }
-  
+
   /**
    * Return modifiable copy of the children.
    */
   std::map<std::string, SaveRestoreUtility> Children() { return children; }
- 
+
  private:
   /**
   * WriteFile creates XML tree recursively.
   */
   void WriteFile(xmlNode* n);
-  
+
   /**
    * ReadFile reads an XML tree recursively.
    */
-  bool ReadFile(const std::string& filename);
   void ReadFile(xmlNode* n);
-    
+
 };
 
 //! Specialization for arma::vec.
@@ -149,7 +148,7 @@ void SaveRestoreUtility::SaveParameter(const arma::vec& t,
                                        const std::string& name);
 
 
-    
+
 }; /* namespace util */
 }; /* namespace mlpack */
 

-- 
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