diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-05-30 15:47:20 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-05-30 15:47:20 +0400 |
commit | 45870348ff4f8860b9a9b35a4d20952023ead4d7 (patch) | |
tree | 799af042f07f44805a42aec7ab9cc821c3741e8e /mert/MiraFeatureVector.h | |
parent | 9f03125418abb4749b5a46154f4d1c3e19276600 (diff) |
xcode build supports threads. move 'using namespace' out from .h file to stop namespace pollution
Diffstat (limited to 'mert/MiraFeatureVector.h')
-rw-r--r-- | mert/MiraFeatureVector.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mert/MiraFeatureVector.h b/mert/MiraFeatureVector.h index 14336c56f..27a4510ad 100644 --- a/mert/MiraFeatureVector.h +++ b/mert/MiraFeatureVector.h @@ -24,9 +24,9 @@ class MiraFeatureVector { public: MiraFeatureVector(const FeatureDataItem& vec); MiraFeatureVector(const MiraFeatureVector& other); - MiraFeatureVector(const vector<ValType>& dense, - const vector<size_t>& sparseFeats, - const vector<ValType>& sparseVals); + MiraFeatureVector(const std::vector<ValType>& dense, + const std::vector<size_t>& sparseFeats, + const std::vector<ValType>& sparseVals); ValType val(size_t index) const; size_t feat(size_t index) const; @@ -37,9 +37,9 @@ public: const MiraFeatureVector& b); private: - vector<ValType> m_dense; - vector<size_t> m_sparseFeats; - vector<ValType> m_sparseVals; + std::vector<ValType> m_dense; + std::vector<size_t> m_sparseFeats; + std::vector<ValType> m_sparseVals; }; #endif // MERT_FEATURE_VECTOR_H |