diff --git a/brainlet.h b/brainlet.h index af670c3..ed7bcfe 100644 --- a/brainlet.h +++ b/brainlet.h @@ -73,8 +73,8 @@ namespace Brainlet { State state = NOT_CONNECTED; static void onReceive(Client* client, std::string buffer); - void escapeJSON(std::string& string); ///< Escapes a string to a JSON value - void escapeOutput(std::string& string); ///< Escapes a string to output safely + static void escapeJSON(std::string& string); ///< Escapes a string to a JSON value + static void escapeOutput(std::string& string); ///< Escapes a string to output safely public: std::function onNewChannel = nullptr;