From c6bb377c91f40ae571d0a0fc951b736cb8fc2ead Mon Sep 17 00:00:00 2001 From: Puck Meerburg Date: Wed, 15 May 2024 23:22:18 +0000 Subject: Loosen constness on listElems() result Change-Id: I1caff000362c83e5172413a036c22a2e9ed3ede8 --- src/libexpr/value.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libexpr') diff --git a/src/libexpr/value.hh b/src/libexpr/value.hh index 450216ec0..17a85f1de 100644 --- a/src/libexpr/value.hh +++ b/src/libexpr/value.hh @@ -384,7 +384,7 @@ public: return internalType == tList1 || internalType == tList2 ? smallList : bigList.elems; } - const Value * const * listElems() const + Value * const * listElems() const { return internalType == tList1 || internalType == tList2 ? smallList : bigList.elems; } -- cgit v1.2.3