summaryrefslogtreecommitdiff
blob: 0ef6ae40e434e8713df821768b027c5b9dc98b7d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- /trainer.cpp
+++ /trainer.cpp
@@ -103,7 +103,7 @@
     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;
   }