Fix bug: getter methods for vectors should return a reference.
diff --git a/ndn-cpp/interest.hpp b/ndn-cpp/interest.hpp
index 5d7169a..149c606 100644
--- a/ndn-cpp/interest.hpp
+++ b/ndn-cpp/interest.hpp
@@ -191,7 +191,7 @@
 
   double getInterestLifetimeMilliseconds() const { return interestLifetimeMilliseconds_; }
 
-  const std::vector<unsigned char> getNonce() const { return nonce_; }
+  const std::vector<unsigned char> &getNonce() const { return nonce_; }
   
   /**
    * Clear this interest, and set the values by copying from the interest struct.