From cf25568053a4d2846171ae4db20a35070be85a36 Mon Sep 17 00:00:00 2001 From: Julia Dark Date: Thu, 13 Feb 2025 16:18:34 -0500 Subject: [PATCH] Make attribute `const` for enumeration getter in C++ API --- tiledb/sm/cpp_api/attribute_experimental.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();