mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-17 02:15:22 +02:00
Minor improvements to metadata handling
This commit is contained in:
@@ -57,7 +57,10 @@ public:
|
||||
{
|
||||
return m_privatevars.count(name) != 0;
|
||||
}
|
||||
void markPrivate(const std::string &name, bool set);
|
||||
|
||||
/// Marks a key as private.
|
||||
/// @return metadata modified?
|
||||
bool markPrivate(const std::string &name, bool set);
|
||||
|
||||
private:
|
||||
int countNonPrivate() const;
|
||||
|
Reference in New Issue
Block a user