Skip to content

Commit 7fa11f7

Browse files
committed
Fixed Windows build issue
1 parent 3bef15b commit 7fa11f7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

engine/core/util/STBText.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ namespace doriax {
142142
STBText();
143143
virtual ~STBText();
144144

145+
//unique_ptr faces are not copyable; MSVC instantiates the copy path unless these are deleted
146+
STBText(const STBText&) = delete;
147+
STBText& operator=(const STBText&) = delete;
148+
145149
float getAscent();
146150
float getDescent();
147151
float getLineGap();

0 commit comments

Comments
 (0)