mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 08:31:43 +02:00
style fixes
This commit is contained in:
@@ -154,7 +154,7 @@ public:
|
||||
void add(const Dynamic::Var& value);
|
||||
/// Add the given value to the array
|
||||
|
||||
void set(unsigned int index, const Dynamic::Var &value);
|
||||
void set(unsigned int index, const Dynamic::Var& value);
|
||||
/// Update the element on the given index to specified value
|
||||
|
||||
void stringify(std::ostream& out, unsigned int indent = 0, int step = -1) const;
|
||||
@@ -224,7 +224,7 @@ inline void Array::add(const Dynamic::Var& value)
|
||||
}
|
||||
|
||||
|
||||
inline void Array::set(unsigned int index, const Dynamic::Var &value)
|
||||
inline void Array::set(unsigned int index, const Dynamic::Var& value)
|
||||
{
|
||||
if (index >= _values.size()) _values.resize(index + 1);
|
||||
_values[index] = value;
|
||||
|
@@ -250,9 +250,7 @@ void JSONConfiguration::setValue(const std::string& key, const Poco::DynamicAny&
|
||||
KeyValue kv(key, sValue);
|
||||
|
||||
if (eventsEnabled())
|
||||
|
||||
{
|
||||
|
||||
propertyChanging(this, kv);
|
||||
}
|
||||
|
||||
@@ -299,9 +297,7 @@ void JSONConfiguration::setValue(const std::string& key, const Poco::DynamicAny&
|
||||
}
|
||||
|
||||
if (eventsEnabled())
|
||||
|
||||
{
|
||||
|
||||
propertyChanged(this, kv);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user