name: remove enable_shared_from_this
Name class is typically not created with make_shared, and
there is no known usage of Name::shared_from_this.
refs #4173
Change-Id: I24723076d694b359f01f77c09527a49911147556
diff --git a/src/name.hpp b/src/name.hpp
index 3817947..880343c 100644
--- a/src/name.hpp
+++ b/src/name.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
-/**
- * Copyright (c) 2013-2016 Regents of the University of California.
+/*
+ * Copyright (c) 2013-2017 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -43,7 +43,7 @@
/**
* @brief Name abstraction to represent an absolute name
*/
-class Name : public enable_shared_from_this<Name>
+class Name
{
public:
/**
@@ -632,4 +632,4 @@
} // namespace std
-#endif
+#endif // NDN_NAME_HPP