Skip to content

Commit

Permalink
fix(BaseKey): keyDict return const ref
Browse files Browse the repository at this point in the history
  • Loading branch information
mcakircali committed Feb 7, 2025
1 parent e891a91 commit 447fc00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fdb5/database/BaseKey.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class BaseKey {
/// @throws eckit::SeriousBug if 'keyword' is not found
std::string value(const std::string& keyword) const { return get(keyword); }

eckit::StringDict keyDict() const { return keys_; }
const eckit::StringDict& keyDict() const { return keys_; }

eckit::StringSet keys() const;

Expand Down

0 comments on commit 447fc00

Please sign in to comment.