Skip to content

Commit

Permalink
Make attribute const for enumeration getter in C++ API
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-dark committed Feb 13, 2025
1 parent ab6c52e commit cf25568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiledb/sm/cpp_api/attribute_experimental.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class AttributeExperimental {
* @return std::optional<std::string> The enumeration name if one exists.
*/
static std::optional<std::string> get_enumeration_name(
const Context& ctx, Attribute& attribute) {
const Context& ctx, const Attribute& attribute) {
// Get the enumeration name as a string handle
tiledb_string_t* enmr_name;
tiledb_ctx_t* c_ctx = ctx.ptr().get();
Expand Down

0 comments on commit cf25568

Please sign in to comment.