diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-08-21 08:13:48 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-08-21 08:13:48 -0400 |
| commit | 2536352e5d166719acc87535ed17a805e7bd3c26 (patch) | |
| tree | eb676d506f419c410e0dda711273f5dcfcc6bb79 /node/Utils.hpp | |
| parent | dbb509a30234059fb6de10cfcd9ba1aade6a0138 (diff) | |
| download | infinitytier-2536352e5d166719acc87535ed17a805e7bd3c26.tar.gz infinitytier-2536352e5d166719acc87535ed17a805e7bd3c26.zip | |
Make that an arbitrary tag to identify persistent taps...
Diffstat (limited to 'node/Utils.hpp')
| -rw-r--r-- | node/Utils.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Utils.hpp b/node/Utils.hpp index 76448294..ff88124b 100644 --- a/node/Utils.hpp +++ b/node/Utils.hpp @@ -118,6 +118,7 @@ public: * @return Number of characters actually written */ static unsigned int unhex(const char *hex,void *buf,unsigned int len); + static inline unsigned int unhex(const std::string &hex,void *buf,unsigned int len) { return unhex(hex.c_str(),buf,len); } /** * @param buf Buffer to fill |
