aboutsummaryrefslogtreecommitdiff
path: root/ble/ByteBuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ble/ByteBuffer.cpp')
-rw-r--r--ble/ByteBuffer.cpp3
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 << " ";