diff options
Diffstat (limited to 'src/engine/BufferFactory.cpp')
-rw-r--r-- | src/engine/BufferFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/BufferFactory.cpp b/src/engine/BufferFactory.cpp index 86862ef8..87caa2af 100644 --- a/src/engine/BufferFactory.cpp +++ b/src/engine/BufferFactory.cpp @@ -80,7 +80,7 @@ BufferFactory::get(Shared::PortType type, size_t size, bool force_create) BufferFactory::Ref BufferFactory::create(Shared::PortType type, size_t size) { - assert(ThreadManager::current_thread_id() != THREAD_PROCESS); + ThreadManager::assert_not_thread(THREAD_PROCESS); Buffer* buffer = NULL; |