summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorMichał Zieliński <michal@zielinscy.org.pl>2017-01-22 23:02:34 +0100
committerMichał Zieliński <michal@zielinscy.org.pl>2017-01-23 12:16:40 +0100
commit8f2a42d1ad84e5dba590e7f593d8a46cc81389b3 (patch)
treee61e1ff9fb430eb1d9eadf16ed5daacfa9551071 /node
parent9a475eeff90a181af0661b87b09af7337e39167a (diff)
downloadinfinitytier-8f2a42d1ad84e5dba590e7f593d8a46cc81389b3.tar.gz
infinitytier-8f2a42d1ad84e5dba590e7f593d8a46cc81389b3.zip
allow user to specify arbitrary allowed IP networks in allowManaged
Diffstat (limited to 'node')
-rw-r--r--node/Buffer.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/node/Buffer.hpp b/node/Buffer.hpp
index 0b171592..1a478894 100644
--- a/node/Buffer.hpp
+++ b/node/Buffer.hpp
@@ -61,11 +61,11 @@ public:
// STL container idioms
typedef unsigned char value_type;
typedef unsigned char * pointer;
- typedef const unsigned char * const_pointer;
- typedef unsigned char & reference;
- typedef const unsigned char & const_reference;
- typedef unsigned char * iterator;
- typedef const unsigned char * const_iterator;
+ typedef const char * const_pointer;
+ typedef char & reference;
+ typedef const char & const_reference;
+ typedef char * iterator;
+ typedef const char * const_iterator;
typedef unsigned int size_type;
typedef int difference_type;
typedef std::reverse_iterator<iterator> reverse_iterator;