summaryrefslogtreecommitdiff
path: root/libjsonpp/jsonFlexLexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libjsonpp/jsonFlexLexer.h')
-rw-r--r--libjsonpp/jsonFlexLexer.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/libjsonpp/jsonFlexLexer.h b/libjsonpp/jsonFlexLexer.h
index e3be204..6ea1336 100644
--- a/libjsonpp/jsonFlexLexer.h
+++ b/libjsonpp/jsonFlexLexer.h
@@ -4,7 +4,7 @@
#include <string>
#include "jsonpp.h"
#include <stack>
-#include <boost/function.hpp>
+#include <functional>
namespace json {
class jsonFlexLexer : public yyFlexLexer {
@@ -26,16 +26,12 @@ namespace json {
void PushObject();
private:
- Value * RootValue(const Value &);
- Value * ArrayAppend(Array *, const Value &);
- Value * ObjectMember(Object *, const Value &);
-
std::string encodeBuf() const;
std::string buf, name, encoding;
std::stack<ValuePtr> values;
- typedef boost::function<Value *(const Value &)> AcceptValue;
+ typedef std::function<Value *(const Value &)> AcceptValue;
std::stack<AcceptValue> acceptValues;
};
}