Code style: Declare (Type& value) instead of (Type &value)
diff --git a/tests/test-encode-decode-interest.cpp b/tests/test-encode-decode-interest.cpp
index 26d8269..ad638ce 100644
--- a/tests/test-encode-decode-interest.cpp
+++ b/tests/test-encode-decode-interest.cpp
@@ -30,7 +30,7 @@
1
};
-static void dumpInterest(const Interest &interest)
+static void dumpInterest(const Interest& interest)
{
cout << "name: " << interest.getName().to_uri() << endl;
cout << "minSuffixComponents: ";
@@ -86,7 +86,7 @@
reDecodedInterest.wireDecode(*encoding);
cout << "Re-decoded Interest:" << endl;
dumpInterest(reDecodedInterest);
- } catch (exception &e) {
+ } catch (exception& e) {
cout << "exception: " << e.what() << endl;
}
return 0;