diff options
author | David Robillard <d@drobilla.net> | 2008-01-01 19:52:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-01-01 19:52:36 +0000 |
commit | cb21a7b08354134307637eb822a3c1ad9cb7ed23 (patch) | |
tree | fed8b9484141e723317a00886b0bd8bc841c9397 /raul/AtomLiblo.hpp | |
parent | 143d9b1599a82a35165fd8e17f249998f95f15d0 (diff) | |
download | raul-cb21a7b08354134307637eb822a3c1ad9cb7ed23.tar.gz raul-cb21a7b08354134307637eb822a3c1ad9cb7ed23.tar.bz2 raul-cb21a7b08354134307637eb822a3c1ad9cb7ed23.zip |
RAUL code cleanup.
git-svn-id: http://svn.drobilla.net/lad/raul@999 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul/AtomLiblo.hpp')
-rw-r--r-- | raul/AtomLiblo.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/raul/AtomLiblo.hpp b/raul/AtomLiblo.hpp index 88adf1a..e21e6c3 100644 --- a/raul/AtomLiblo.hpp +++ b/raul/AtomLiblo.hpp @@ -34,9 +34,6 @@ class AtomLiblo { public: static void lo_message_add_atom(lo_message m, const Atom& atom) { switch (atom.type()) { - //case NIL: - // (see below) - //break; case Atom::INT: lo_message_add_int32(m, atom.get_int32()); break; @@ -50,7 +47,8 @@ public: // FIXME: is this okay? what does liblo do? lo_message_add_blob(m, const_cast<void*>(atom.get_blob())); break; - default: // This catches Atom::Type::NIL too + case Atom::NIL: + default: lo_message_add_nil(m); break; } |