summaryrefslogtreecommitdiff
path: root/server/src/luaquerymapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/luaquerymapper.h')
-rw-r--r--server/src/luaquerymapper.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/luaquerymapper.h b/server/src/luaquerymapper.h
index 838429d..d5e03b0 100644
--- a/server/src/luaquerymapper.h
+++ b/server/src/luaquerymapper.h
@@ -32,6 +32,9 @@
#include <lua.hpp>
#include <lauxlib.h>
+// For class Value
+#include "database.h"
+
/**
* The LUAQueryMapper class takes the result of an external data query and
* applies the associated map.
@@ -45,7 +48,7 @@ public:
* Applies the mapping program to the result-namespace, and returns the
* resulting value.
*/
- std::string map(const std::string &mapper);
+ Value map(const std::string &mapper);
private:
lua_State *L;