summaryrefslogtreecommitdiff
path: root/modules/codec/c++/data.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec/c++/data.hpp')
-rw-r--r--modules/codec/c++/data.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/codec/c++/data.hpp b/modules/codec/c++/data.hpp
index 8e29d3c..26f3afd 100644
--- a/modules/codec/c++/data.hpp
+++ b/modules/codec/c++/data.hpp
@@ -608,7 +608,7 @@ public:
return make_void();
}
- error_or<ptr<data<Value,encode::Native>>> find(ref<data<Value,encode::Native>> key){
+ error_or<ptr<data<Value,encode::Native>>> find(ref<data<Key,encode::Native>> key){
auto find = vals_.find(key());
if(find == vals_.end()){
return make_error<err::not_found>();