Skip to content

Commit 6f258bb

Browse files
committed
IUtilities constructor to static create function
1 parent aa08fed commit 6f258bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/nbl/application_templates/BasicMultiQueueApplication.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class BasicMultiQueueApplication : public virtual MonoDeviceApplication
4949
return false;
5050

5151
using namespace core;
52-
m_utils = make_smart_refctd_ptr<video::IUtilities>(smart_refctd_ptr(m_device),smart_refctd_ptr(m_logger));
52+
m_utils = video::IUtilities::create(smart_refctd_ptr(m_device),smart_refctd_ptr(m_logger));
5353
if (!m_utils)
5454
return logFail("Failed to create nbl::video::IUtilities!");
5555

0 commit comments

Comments
 (0)