summaryrefslogtreecommitdiff
path: root/extractor/mocks
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-11-25 18:19:13 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-11-25 18:19:13 +0000
commitbd6fef61505b19989cc327620632e8e7efda2e6e (patch)
tree40d01e5319d1b00ea199812bda62349adbfb73bc /extractor/mocks
parent9834df1efceb27b140f18f47e711d3fff6c7ecb8 (diff)
Reduce unordered_map calls.
Diffstat (limited to 'extractor/mocks')
-rw-r--r--extractor/mocks/mock_data_array.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/extractor/mocks/mock_data_array.h b/extractor/mocks/mock_data_array.h
index d39cb0c4..edc525fa 100644
--- a/extractor/mocks/mock_data_array.h
+++ b/extractor/mocks/mock_data_array.h
@@ -11,7 +11,6 @@ class MockDataArray : public DataArray {
MOCK_CONST_METHOD1(GetWordAtIndex, string(int index));
MOCK_CONST_METHOD0(GetSize, int());
MOCK_CONST_METHOD0(GetVocabularySize, int());
- MOCK_CONST_METHOD1(HasWord, bool(const string& word));
MOCK_CONST_METHOD1(GetWordId, int(const string& word));
MOCK_CONST_METHOD1(GetWord, string(int word_id));
MOCK_CONST_METHOD1(GetSentenceLength, int(int sentence_id));