Skip to content

Commit 15573dc

Browse files
author
Pavel Kovalenko
committed
Add missing constructor and fix access modifiers.
1 parent 6a0df1b commit 15573dc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/editors/xrManagedApi/core/fs/FS.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ namespace ManagedApi
1616
namespace Core
1717
{
1818

19+
WriterBase::WriterBase(::IWriter* impl) { this->impl = impl; }
1920
WriterBase::~WriterBase()
2021
{
2122
delete impl;

src/editors/xrManagedApi/core/fs/FS.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,12 @@ public value struct Vector4I
6262

6363
public ref class WriterBase abstract
6464
{
65-
private:
65+
internal:
6666
::IWriter* impl;
67+
private:
6768
String^ fileName;
69+
internal:
70+
WriterBase(::IWriter* impl);
6871
public:
6972
property String^ FileName { String^ get(); }
7073
~WriterBase();

0 commit comments

Comments
 (0)