summaryrefslogtreecommitdiff
path: root/cObject.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-02-10 02:14:00 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-02-10 02:14:00 +0100
commit2404a1c8049f192464999e925375ca95819bd8e9 (patch)
treee141b0bda85eee80d4ac821b5a0f5d0e35c126e6 /cObject.h
parent6dce8d1945731314ee4def31431cc99a6d620192 (diff)
downloadtermgl-2404a1c8049f192464999e925375ca95819bd8e9.tar.gz
Code cleaning
Diffstat (limited to 'cObject.h')
-rw-r--r--cObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cObject.h b/cObject.h
index d0947da..a2b269a 100644
--- a/cObject.h
+++ b/cObject.h
@@ -61,7 +61,7 @@ public:
virtual void onChar(unsigned char _c){}
protected: //For child classes
- cObject();
+ cObject() : pos({0,0}) , bSizeSet(false){}
/** For inheriting classes: sets size of framebuffer
*/
void setSize(int _sx, int _sy);