mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 22:31:23 +01:00
style fixes
This commit is contained in:
parent
3880f76d82
commit
1b5f9cb079
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user