In Data.getContent, return Blob.
diff --git a/tests/test-encode-decode-data.cpp b/tests/test-encode-decode-data.cpp
index 0246477..705e658 100644
--- a/tests/test-encode-decode-data.cpp
+++ b/tests/test-encode-decode-data.cpp
@@ -65,9 +65,9 @@
if (data.getContent().size() > 0) {
cout << "content (raw): ";
for (unsigned int i = 0; i < data.getContent().size(); ++i)
- cout << data.getContent()[i];
+ cout << (*data.getContent())[i];
cout<< endl;
- cout << "content (hex): " << toHex(data.getContent()) << endl;
+ cout << "content (hex): " << toHex(*data.getContent()) << endl;
}
else
cout << "content: <empty>" << endl;