summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/common/entry/entry_p.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/examples/common/entry/entry_p.h')
-rw-r--r--3rdparty/bgfx/examples/common/entry/entry_p.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/3rdparty/bgfx/examples/common/entry/entry_p.h b/3rdparty/bgfx/examples/common/entry/entry_p.h
index 74a279f8e2c..ab45cfef5b5 100644
--- a/3rdparty/bgfx/examples/common/entry/entry_p.h
+++ b/3rdparty/bgfx/examples/common/entry/entry_p.h
@@ -11,7 +11,6 @@
#include <bx/spscqueue.h>
#include "entry.h"
-#include <string.h> // memcpy
#ifndef ENTRY_CONFIG_USE_NOOP
# define ENTRY_CONFIG_USE_NOOP (BX_PLATFORM_QNX)
@@ -199,7 +198,7 @@ namespace entry
{
CharEvent* ev = new CharEvent(_handle);
ev->m_len = _len;
- memcpy(ev->m_char, _char, 4);
+ bx::memCopy(ev->m_char, _char, 4);
m_queue.push(ev);
}
@@ -298,7 +297,7 @@ namespace entry
}
private:
- bx::SpScUnboundedQueue<Event> m_queue;
+ bx::SpScUnboundedQueueT<Event> m_queue;
};
} // namespace entry