diff options
author | Robin Gareus <robin@gareus.org> | 2019-06-24 14:03:48 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-06-24 14:03:48 +0200 |
commit | d98bba43f173aa5e06c39f32c167ec207be41879 (patch) | |
tree | 79fdad4ee0290cf5275692e1116329a7f5a755e2 /ptformat | |
parent | 6240b87cc8639d8402049fdccef2214286d6e0e3 (diff) |
Don't expose static methods that don't use members.
This is in preparation for making parsestring() a constant method
Diffstat (limited to 'ptformat')
-rw-r--r-- | ptformat/ptformat.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ptformat/ptformat.h b/ptformat/ptformat.h index 43b4dc1..6fb6ceb 100644 --- a/ptformat/ptformat.h +++ b/ptformat/ptformat.h @@ -252,11 +252,6 @@ private: bool jumpto(uint32_t *currpos, unsigned char *buf, const uint32_t maxoffset, const unsigned char *needle, const uint32_t needlelen); bool foundin(std::string const& haystack, std::string const& needle); int64_t foundat(unsigned char *haystack, uint64_t n, const char *needle); - uint16_t u_endian_read2(unsigned char *buf, bool); - uint32_t u_endian_read3(unsigned char *buf, bool); - uint32_t u_endian_read4(unsigned char *buf, bool); - uint64_t u_endian_read5(unsigned char *buf, bool); - uint64_t u_endian_read8(unsigned char *buf, bool); char *parsestring(uint32_t pos); const std::string get_content_description(uint16_t ctype); |