diff options
Diffstat (limited to 'grpc/src/cpp/common/auth_property_iterator.cc')
-rw-r--r-- | grpc/src/cpp/common/auth_property_iterator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grpc/src/cpp/common/auth_property_iterator.cc b/grpc/src/cpp/common/auth_property_iterator.cc index fbb18e99..0f380b09 100644 --- a/grpc/src/cpp/common/auth_property_iterator.cc +++ b/grpc/src/cpp/common/auth_property_iterator.cc @@ -61,7 +61,7 @@ bool AuthPropertyIterator::operator!=(const AuthPropertyIterator& rhs) const { return !operator==(rhs); } -const AuthProperty AuthPropertyIterator::operator*() { +AuthProperty AuthPropertyIterator::operator*() { return std::pair<grpc::string_ref, grpc::string_ref>( property_->name, grpc::string_ref(property_->value, property_->value_length)); |