summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/BufferFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/BufferFactory.cpp')
-rw-r--r--src/libs/engine/BufferFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/engine/BufferFactory.cpp b/src/libs/engine/BufferFactory.cpp
index 84ff721b..25b09a56 100644
--- a/src/libs/engine/BufferFactory.cpp
+++ b/src/libs/engine/BufferFactory.cpp
@@ -34,7 +34,7 @@ create(DataType type, size_t size)
else if (type.is_osc())
return new OSCBuffer(size);
else
- return NULL;
+ throw;
}