[mlpack] 45/149: Now we have C++11, but there's no constructor copypasta problem anymore.

Barak A. Pearlmutter barak+git at pearlmutter.net
Sat May 2 09:11:07 UTC 2015


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

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

commit 8c58f470da4a1bd27f39d09568f036bc64073f93
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Mon Oct 13 15:42:36 2014 +0000

    Now we have C++11, but there's no constructor copypasta problem anymore.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@17253 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp b/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp
index 33b2577..a0f4dc7 100644
--- a/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp
+++ b/src/mlpack/methods/neighbor_search/neighbor_search_impl.hpp
@@ -59,9 +59,6 @@ NeighborSearch(const typename TreeType::Mat& referenceSetIn,
     singleMode(!naive && singleMode), // No single mode if naive.
     metric(metric)
 {
-  // C++11 will allow us to call out to other constructors so we can avoid this
-  // copy/paste problem.
-
   // We'll time tree building, but only if we are building trees.
   Timer::Start("tree_building");
 

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