diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-01-03 21:01:19 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-01-03 21:01:19 +0100 |
commit | 8134a14d6e3e7f07ba2fbbc2d657789ce441fbc6 (patch) | |
tree | 48444525a680a8f96f72924a2bf0d20c0a7571a3 /testobject.h | |
parent | 32adea5719fbfd07390c7a459ee4a60c48f84835 (diff) | |
download | termgl-8134a14d6e3e7f07ba2fbbc2d657789ce441fbc6.tar.gz |
compatability fixes
Diffstat (limited to 'testobject.h')
-rw-r--r-- | testobject.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testobject.h b/testobject.h index 5e5475f..1da8987 100644 --- a/testobject.h +++ b/testobject.h @@ -1,6 +1,7 @@ #pragma once #include "cObject.h" +#include <string> class testobject : cObject { @@ -22,7 +23,7 @@ public: virtual void onClick(sPos _pos, unsigned int _button) { cc++; - drawText(to_string(cc), {2,2}, _COL_RED); + drawText(std::to_string(cc), {2,2}, _COL_RED); } virtual void onChar(unsigned char _c) |