summaryrefslogtreecommitdiff
blob: f6ea7e19e19ce93712be4f94532a7d692ed9b67d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/old/trainer.cpp b/zinnia-0.06/trainer.cpp
index fdb044c..8b21e6c 100644
--- a/old/trainer.cpp
+++ b/zinnia-0.06/trainer.cpp
@@ -103,7 +103,7 @@ class TrainerImpl: public Trainer {
     if (!fn) {
       return false;
     }
-    x_.push_back(std::make_pair<std::string, FeatureNode *>(y, fn));
+    x_.push_back(std::make_pair(y, fn));
     return true;
   }