name: delete deprecated Name::set method

refs #2506

Change-Id: Iea44dcd8f39db4841d95ae62f79de0c8b642db38
diff --git a/src/name.hpp b/src/name.hpp
index 986ef8f..3817947 100644
--- a/src/name.hpp
+++ b/src/name.hpp
@@ -105,7 +105,7 @@
    * @brief Create name from @p uri (NDN URI scheme)
    * @param uri The URI string
    */
-  Name(const std::string& uri);
+  Name(std::string uri);
 
   /**
    * @brief Make a deep copy of the name, reallocating the underlying memory buffer
@@ -133,20 +133,6 @@
   hasWire() const;
 
   /**
-   * @deprecated Use appropriate constructor
-   */
-  DEPRECATED(
-  void
-  set(const char* uri));
-
-  /**
-   * @deprecated Use appropriate constructor
-   */
-  DEPRECATED(
-  void
-  set(const std::string& uri));
-
-  /**
    * @brief Append a new component, copying from value of length valueLength.
    * @return This name so that you can chain calls to append.
    */
@@ -613,10 +599,6 @@
     return const_reverse_iterator(begin());
   }
 
-private:
-  void
-  construct(const char* uri);
-
 public:
   /** \brief indicates "until the end" in getSubName and compare
    */