summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-08-08 21:02:16 -0700
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-08-08 21:02:59 -0700
commit032872bf6f7c14b0fdbc9cd75daae56bbeb50af0 (patch)
tree877e7ec9b138a54a86558a94dc49e05e696ea42e /includes
parentdaf6897fe24e62ae8cf8e42b151ed565563332fe (diff)
Fixing a few warnings and issues.
Diffstat (limited to 'includes')
-rw-r--r--includes/BLua.h1
-rw-r--r--includes/BString.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/includes/BLua.h b/includes/BLua.h
index 1312051..a8df837 100644
--- a/includes/BLua.h
+++ b/includes/BLua.h
@@ -18,6 +18,7 @@ class Lua;
class LuaObjectBase {
public:
+ virtual ~LuaObjectBase() { }
virtual void destroy() = 0;
void detach() { m_detached = true; }
virtual Task * spawnCollector() = 0;
diff --git a/includes/BString.h b/includes/BString.h
index 447ba93..4f789a7 100644
--- a/includes/BString.h
+++ b/includes/BString.h
@@ -1,6 +1,5 @@
#pragma once
-#define __STDC_FORMAT_MACROS
#include <inttypes.h>
#include <stdarg.h>
#include <string.h>