aboutsummaryrefslogtreecommitdiff
path: root/testobject.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-03 21:01:19 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-03 21:01:19 +0100
commit8134a14d6e3e7f07ba2fbbc2d657789ce441fbc6 (patch)
tree48444525a680a8f96f72924a2bf0d20c0a7571a3 /testobject.h
parent32adea5719fbfd07390c7a459ee4a60c48f84835 (diff)
downloadtermgl-8134a14d6e3e7f07ba2fbbc2d657789ce441fbc6.tar.gz
compatability fixes
Diffstat (limited to 'testobject.h')
-rw-r--r--testobject.h3
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)