diff --git a/.gitignore b/.gitignore index effde7d..dedede6 100755 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,6 @@ build .kdev4/ .vscode/ openmonero.kdev4 +.color_coded +.ycm_extra_conf.py + diff --git a/tests/mocks.h b/tests/mocks.h index 9868f17..efcee72 100755 --- a/tests/mocks.h +++ b/tests/mocks.h @@ -76,12 +76,12 @@ public: bool(crypto::hash const& tx_hash, transaction& tx)); - MOCK_METHOD3(get_output_key, + MOCK_CONST_METHOD3(get_output_key, void(uint64_t amount, vector const& absolute_offsets, vector& outputs)); - MOCK_METHOD2(get_output_key, + MOCK_CONST_METHOD2(get_output_key, output_data_t(uint64_t amount, uint64_t global_amount_index));