diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-07-21 19:59:48 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-07-21 19:59:48 +0200 |
commit | 33c537c84fea53c899fb5275256518598f66101e (patch) | |
tree | 51790ef4203ac21d469cac7eb3bf2f7b15ade146 /ble/ByteBuffer.cpp | |
parent | a0d83abee95e0ba7fcb882c970a76576cd3afb81 (diff) | |
download | ble-toys-33c537c84fea53c899fb5275256518598f66101e.tar.gz ble-toys-33c537c84fea53c899fb5275256518598f66101e.tar.bz2 ble-toys-33c537c84fea53c899fb5275256518598f66101e.tar.xz ble-toys-33c537c84fea53c899fb5275256518598f66101e.zip |
o Fixing compatability with libcxx.
Diffstat (limited to 'ble/ByteBuffer.cpp')
-rw-r--r-- | ble/ByteBuffer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ble/ByteBuffer.cpp b/ble/ByteBuffer.cpp index ff7c928..f5e50d8 100644 --- a/ble/ByteBuffer.cpp +++ b/ble/ByteBuffer.cpp @@ -1,4 +1,5 @@ #include "ble/ByteBuffer.h" +#include <sstream> #include <cassert> #include <cstring> #include <iomanip> @@ -119,7 +120,7 @@ void ByteBuffer::assertCanAccessIndex(uint8_t *p) const { } std::string ByteBuffer::toString() const { - stringstream s; + std::stringstream s; for (uint8_t *i = (uint8_t *) zero; i < end; i++) { s << hex << setfill('0') << setw(2) << (int) *i << " "; |