From 2cef260f92785971d7d61489c2278ad7afae0dd7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 21 Feb 2007 02:30:09 +0000 Subject: Tempo based time in Machina (and related utilities added to Raul). git-svn-id: http://svn.drobilla.net/lad/raul@324 a436a847-0d15-0410-975c-d299462d15a1 --- raul/Atom.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'raul/Atom.h') diff --git a/raul/Atom.h b/raul/Atom.h index 41a7fdd..cded253 100644 --- a/raul/Atom.h +++ b/raul/Atom.h @@ -23,8 +23,6 @@ #include #include -using std::string; - namespace Raul { @@ -42,11 +40,11 @@ public: BLOB }; - Atom() : _type(NIL), _blob_val(0) {} - Atom(int32_t val) : _type(INT), _int_val(val) {} - Atom(float val) : _type(FLOAT), _float_val(val) {} - Atom(const char* val) : _type(STRING), _string_val(strdup(val)) {} - Atom(const string& val) : _type(STRING), _string_val(strdup(val.c_str())) {} + Atom() : _type(NIL), _blob_val(0) {} + Atom(int32_t val) : _type(INT), _int_val(val) {} + Atom(float val) : _type(FLOAT), _float_val(val) {} + Atom(const char* val) : _type(STRING), _string_val(strdup(val)) {} + Atom(const std::string& val) : _type(STRING), _string_val(strdup(val.c_str())) {} Atom(void* val) : _type(BLOB), _blob_size(sizeof(val)), _blob_val(malloc(_blob_size)) { memcpy(_blob_val, val, sizeof(_blob_size)); } -- cgit v1.2.1