File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
2
2
pathInc = -I./Source/
3
- Libs = -s USE_SDL=2 -s ALLOW_MEMORY_GROWTH=1
3
+ Libs = -s USE_SDL=2 -s ALLOW_MEMORY_GROWTH=1 -s BINARYEN_TRAP_MODE='clamp'
4
4
DLibs = -s USE_SDL=2
5
5
6
6
CC = em++ -Wall -std=c++0x -O3 -ferror-limit=100 $(pathInc) $(Libs) --no-heap-copy --preload-file Run@/ -o RunE/OpenFodder.html
Original file line number Diff line number Diff line change @@ -69,6 +69,9 @@ class sFodderParameters {
69
69
clear ();
70
70
}
71
71
72
+ virtual ~sFodderParameters () {
73
+ }
74
+
72
75
virtual void clear () {
73
76
mShowHelp = false ;
74
77
mShowAbout = false ;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class cWindow {
46
46
public:
47
47
48
48
cWindow ();
49
- ~cWindow ();
49
+ virtual ~cWindow ();
50
50
51
51
void CalculateWindowSize ();
52
52
int16 CalculateFullscreenSize ();
@@ -108,6 +108,6 @@ class cWindow {
108
108
class cWindowNull : public cWindow {
109
109
110
110
public:
111
-
111
+ virtual ~cWindowNull () {}
112
112
virtual bool InitWindow (const std::string& pWindowTitle);
113
113
};
You can’t perform that action at this time.
0 commit comments