src: Removing unnecessary use of cref() in concert with make_shared
This commit also replaces all usages of shared_ptr<T>(new T) with
make_shared<T> in Face class implementation.
Change-Id: I44971c44eb7f2c25ecfe00e185309973c9cbd246
Refs: #1592
diff --git a/src/transport/transport.hpp b/src/transport/transport.hpp
index 3ed386c..8291356 100644
--- a/src/transport/transport.hpp
+++ b/src/transport/transport.hpp
@@ -28,8 +28,8 @@
inline Error(const std::string& msg);
};
- typedef ptr_lib::function<void (const Block& wire)> ReceiveCallback;
- typedef ptr_lib::function<void ()> ErrorCallback;
+ typedef function<void (const Block& wire)> ReceiveCallback;
+ typedef function<void ()> ErrorCallback;
inline
Transport();