From 462b9ac49c14c4751c2f56b79297124427fb71f8 Mon Sep 17 00:00:00 2001 From: Sergei Zimmerman Date: Mon, 8 Sep 2025 01:20:31 +0300 Subject: [PATCH] libexpr: Make Value::isa and Value::getStorage private methods This was always intended to be the case, but accidentally left in the public interface. --- src/libexpr/include/nix/expr/value.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libexpr/include/nix/expr/value.hh b/src/libexpr/include/nix/expr/value.hh index 82db1a775..0b10b78b5 100644 --- a/src/libexpr/include/nix/expr/value.hh +++ b/src/libexpr/include/nix/expr/value.hh @@ -833,6 +833,7 @@ struct Value : public ValueStorage { friend std::string showType(const Value & v); +private: template bool isa() const noexcept {