diff options
author | Tink Team <tink-dev@google.com> | 2019-03-04 18:08:21 -0800 |
---|---|---|
committer | Tink Team <noreply@google.com> | 2019-03-05 12:24:55 -0800 |
commit | c766cbd77180f5a01c0de4a300af4e14097fed71 (patch) | |
tree | 2ae49e957084c388ec08e032e91e5eb2cff43873 /cc/primitive_set.h | |
parent | 2898f7ebe9a8e160c6db8e61628ce291233af982 (diff) | |
download | tink-c766cbd77180f5a01c0de4a300af4e14097fed71.tar.gz |
The const qualifier on an enum return type is ignored and has no effect.
However, some compilers will issue warnings for it.
PiperOrigin-RevId: 236763407
GitOrigin-RevId: 03f0953b6c031a6749aee99e8d5861b5dc7964c8
Diffstat (limited to 'cc/primitive_set.h')
-rw-r--r-- | cc/primitive_set.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/primitive_set.h b/cc/primitive_set.h index c782794d1..d204044d6 100644 --- a/cc/primitive_set.h +++ b/cc/primitive_set.h @@ -67,11 +67,11 @@ class PrimitiveSet { const std::string& get_identifier() const { return identifier_; } - const google::crypto::tink::KeyStatusType get_status() const { + google::crypto::tink::KeyStatusType get_status() const { return status_; } - const google::crypto::tink::OutputPrefixType get_output_prefix_type() + google::crypto::tink::OutputPrefixType get_output_prefix_type() const { return output_prefix_type_; } |