1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-11 21:16:02 +01:00

libexpr: Make Value::isa and Value::getStorage private methods

This was always intended to be the case, but accidentally left
in the public interface.
This commit is contained in:
Sergei Zimmerman 2025-09-08 01:20:31 +03:00
parent 4df1a3ca76
commit 462b9ac49c
No known key found for this signature in database

View file

@ -833,6 +833,7 @@ struct Value : public ValueStorage<sizeof(void *)>
{
friend std::string showType(const Value & v);
private:
template<InternalType... discriminator>
bool isa() const noexcept
{