diff --git a/tiledb/sm/cpp_api/attribute_experimental.h b/tiledb/sm/cpp_api/attribute_experimental.h index 5d1c6f62f90..91578b6f09a 100644 --- a/tiledb/sm/cpp_api/attribute_experimental.h +++ b/tiledb/sm/cpp_api/attribute_experimental.h @@ -66,7 +66,7 @@ class AttributeExperimental { * @return std::optional The enumeration name if one exists. */ static std::optional 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();