From c83b35d6456c8a77e5b8f6a08c9262122c3cbcfc Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 19 Nov 2018 22:09:59 +0100 Subject: ByteBuffer: o Reducing silliness, no allocations by ByteBuffer. o Create StaticByteBuffer as a nice one-liner to create a buffer. LinuxBluetooth: methods that want a buffer needs to pass it in, ByteBuffer is not allocating anymore. --- ble/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ble/misc.cpp') diff --git a/ble/misc.cpp b/ble/misc.cpp index a8df2cb..a4f4b57 100644 --- a/ble/misc.cpp +++ b/ble/misc.cpp @@ -50,7 +50,7 @@ o Uuid::fromString(const std::string &str) { } auto tmp = str.substr(i, 2); - cout << "str=" << tmp << endl; + // cout << "str=" << tmp << endl; unsigned long x = std::stoul(tmp, nullptr, 16); if (x > std::numeric_limits::max()) { -- cgit v1.2.3