Skip to content

Commit d4daf85

Browse files
committed
Fixed Backend reflection
1 parent cc8bb14 commit d4daf85

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

CMake/Util.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ function(rift_module target)
44
pipe_target_define_platform(${target})
55
pipe_target_shared_output_directory(${target})
66
pipe_target_enable_CPP20(${target})
7+
pipe_target_disable_rtti(${target} PRIVATE)
78
set_target_properties(${target} PROPERTIES FOLDER Rift)
89
endfunction(rift_module)
910

Extern/Pipe

Libs/AST/Include/Compiler/Backend.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ namespace rift
1111
{
1212
class Backend : public p::Object
1313
{
14+
public:
1415
using Super = p::Object;
1516
P_CLASS(Backend)
1617

17-
public:
1818
virtual p::Tag GetName()
1919
{
2020
return p::Tag::None();

Libs/Backends/MIR/Compiler/Include/MIRBackendModule.h

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ namespace rift
2424

2525
class MIRBackend : public Backend
2626
{
27+
public:
2728
using Super = Backend;
2829
P_CLASS(MIRBackend)
2930

0 commit comments

Comments
 (0)