Commit c96d1a3 1 parent 9bd3d9a commit c96d1a3 Copy full SHA for c96d1a3
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ void BPMiniGame_SymbolicLogic::Render() {
116
116
}
117
117
}
118
118
119
- const char * BPMiniGame_SymbolicLogic::FlattenPremise (BPMiniGame_SymbolicLogic_Premise* premise) {
119
+ std::string BPMiniGame_SymbolicLogic::FlattenPremise (BPMiniGame_SymbolicLogic_Premise* premise) {
120
120
ostringstream result;
121
121
122
122
switch (premise->Type ) {
@@ -150,7 +150,7 @@ const char* BPMiniGame_SymbolicLogic::FlattenPremise(BPMiniGame_SymbolicLogic_Pr
150
150
break ;
151
151
}
152
152
153
- return result.str (). c_str () ;
153
+ return result.str ();
154
154
}
155
155
156
156
void BPMiniGame_SymbolicLogic::Tick () {
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ class BPMiniGame_SymbolicLogic : public BPMiniGame {
67
67
void Start ();
68
68
int GetWeight ();
69
69
void Render ();
70
- const char * FlattenPremise (BPMiniGame_SymbolicLogic_Premise* premise);
70
+ std::string FlattenPremise (BPMiniGame_SymbolicLogic_Premise* premise);
71
71
void Tick ();
72
72
73
73
void OnMouseDown ();
You can’t perform that action at this time.
0 commit comments