summaryrefslogtreecommitdiff
path: root/testobject.h
diff options
context:
space:
mode:
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)