summaryrefslogtreecommitdiffstats
path: root/src/engine/Buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/Buffer.cpp')
-rw-r--r--src/engine/Buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/Buffer.cpp b/src/engine/Buffer.cpp
index 65e46736..07498b36 100644
--- a/src/engine/Buffer.cpp
+++ b/src/engine/Buffer.cpp
@@ -32,7 +32,7 @@ Buffer::create(DataType type, size_t size)
return new AudioBuffer(size);
else if (type.is_events())
return new EventBuffer(size);
- else if (type.is_object())
+ else if (type.is_value())
return new ObjectBuffer(size);
else
throw;