diff options
author | David Robillard <d@drobilla.net> | 2013-01-12 03:17:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-12 03:17:47 +0000 |
commit | e1a63732f796c8057751cb7f8ac98a595b91692e (patch) | |
tree | 764392d055901118ee285dd20f233ff33e0cd04a /src/client/ClientObject.cpp | |
parent | bb62bf2c23ba84f547e37b70b3ef31b51ba987ab (diff) | |
download | machina-e1a63732f796c8057751cb7f8ac98a595b91692e.tar.gz machina-e1a63732f796c8057751cb7f8ac98a595b91692e.tar.bz2 machina-e1a63732f796c8057751cb7f8ac98a595b91692e.zip |
Bulk reformat.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4929 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/ClientObject.cpp')
-rw-r--r-- | src/client/ClientObject.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/client/ClientObject.cpp b/src/client/ClientObject.cpp index c6d254b..7f7eb9e 100644 --- a/src/client/ClientObject.cpp +++ b/src/client/ClientObject.cpp @@ -24,14 +24,12 @@ namespace Client { ClientObject::ClientObject(uint64_t id) : _id(id) -{ -} +{} ClientObject::ClientObject(const ClientObject& copy, uint64_t id) : _id(id) , _properties(copy._properties) -{ -} +{} void ClientObject::set(URIInt key, const Raul::Atom& value) @@ -43,12 +41,13 @@ ClientObject::set(URIInt key, const Raul::Atom& value) const Raul::Atom& ClientObject::get(URIInt key) const { - static const Raul::Atom null_atom; + static const Raul::Atom null_atom; Properties::const_iterator i = _properties.find(key); - if (i != _properties.end()) + if (i != _properties.end()) { return i->second; - else + } else { return null_atom; + } } } |