From 8134a14d6e3e7f07ba2fbbc2d657789ce441fbc6 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 3 Jan 2019 21:01:19 +0100 Subject: compatability fixes --- testobject.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testobject.h') 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 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) -- cgit v1.2.3