aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ByteBufferTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ByteBufferTest.cpp b/test/ByteBufferTest.cpp
index 6a1c4cb..4a612d2 100644
--- a/test/ByteBufferTest.cpp
+++ b/test/ByteBufferTest.cpp
@@ -40,7 +40,7 @@ BOOST_AUTO_TEST_CASE(empty_buffer) {
try {
buffer.read8();
BOOST_FAIL("Expected exception");
- } catch (ByteBufferException e) {
+ } catch (ByteBufferException &e) {
}
}