face: Fix bug with EventEmitter usage
Change-Id: If940c42490f63976611659677b9e2cb899562e8b
diff --git a/daemon/face/face.hpp b/daemon/face/face.hpp
index 543fc81..ed78504 100644
--- a/daemon/face/face.hpp
+++ b/daemon/face/face.hpp
@@ -36,13 +36,13 @@
getId() const;
/// fires when an Interest is received
- EventEmitter<const Interest&> onReceiveInterest;
+ EventEmitter<Interest> onReceiveInterest;
/// fires when a Data is received
- EventEmitter<const Data&> onReceiveData;
+ EventEmitter<Data> onReceiveData;
/// fires when face disconnects or fails to perform properly
- EventEmitter<const std::string& /*reason*/> onFail;
+ EventEmitter<std::string/*reason*/> onFail;
/// send an Interest
virtual void