Skip to content

Commit 45c337d

Browse files
author
Pavel Kovalenko
committed
Make Core class abstract sealed.
1 parent f6c7adb commit 45c337d

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

src/editors/xrManagedApi/core/Core.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ namespace ManagedApi
1010
namespace Core
1111
{
1212

13-
Core::Core() { }
14-
1513
static void LogCallbackWrapper(const char* msg)
1614
{
1715
if (!Core::ManagedLogCallback)

src/editors/xrManagedApi/core/Core.hpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ namespace ManagedApi
99
namespace Core
1010
{
1111

12-
public ref class Core
12+
public delegate void LogCallback(String^ str);
13+
14+
public ref class Core abstract sealed
1315
{
14-
public:
15-
delegate void LogCallback(String^ str);
1616
internal:
1717
static LogCallback^ ManagedLogCallback;
18-
private:
19-
Core();
2018
public:
2119
static void Initialize(String^ appName, LogCallback^ logCallback, bool initFs, String^ fsFileName);
2220
static void Initialize(String^ appName, LogCallback^ logCallback, bool initFs);

0 commit comments

Comments
 (0)