summaryrefslogtreecommitdiffstats
path: root/raul/Table.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-27 00:26:40 +0000
committerDavid Robillard <d@drobilla.net>2007-07-27 00:26:40 +0000
commite3899fa6e89b7839c920fbfbb20237963d7e538d (patch)
tree0d6af8bbf5aa96ec1cb30eea8b14d0fcb22e23f6 /raul/Table.hpp
parent9361bc8fbcad0454f646c4c973bb9607967c3f87 (diff)
downloadraul-e3899fa6e89b7839c920fbfbb20237963d7e538d.tar.gz
raul-e3899fa6e89b7839c920fbfbb20237963d7e538d.tar.bz2
raul-e3899fa6e89b7839c920fbfbb20237963d7e538d.zip
Use uint32_t for num_ports (and poly), matches LV2 and size_t is excessive on 64-bit.
Remove (linear) sorted assertion from Table, except in unit tests. git-svn-id: http://svn.drobilla.net/lad/raul@643 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul/Table.hpp')
-rw-r--r--raul/Table.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/raul/Table.hpp b/raul/Table.hpp
index 4ab449c..9fd672a 100644
--- a/raul/Table.hpp
+++ b/raul/Table.hpp
@@ -21,6 +21,8 @@
#include <vector>
#include <algorithm>
+//#define TABLE_SORT_DEBUG
+
namespace Raul {
@@ -98,7 +100,7 @@ public:
iterator end() { return iterator(*this, size()); }
private:
-#ifndef NDEBUG
+#ifdef TABLE_SORT_DEBUG
bool is_sorted() const;
#endif