encoding: Removing unnecessary explicit instantiations of wireEncode
I suspect this was causing problems when compiled with gcc-4.2
Change-Id: Iab9a7a3258ba1c6062ff665eca42e61acf7ebf84
diff --git a/src/management/nfd-fib-management-options.hpp b/src/management/nfd-fib-management-options.hpp
index ba56d93..33ac31f 100644
--- a/src/management/nfd-fib-management-options.hpp
+++ b/src/management/nfd-fib-management-options.hpp
@@ -123,14 +123,6 @@
return total_len;
}
-template
-size_t
-FibManagementOptions::wireEncode<true>(EncodingBuffer& block) const;
-
-template
-size_t
-FibManagementOptions::wireEncode<false>(EncodingEstimator& block) const;
-
inline const Block&
FibManagementOptions::wireEncode () const
{
diff --git a/src/name-component.hpp b/src/name-component.hpp
index bf7b62c..4c3ecca 100644
--- a/src/name-component.hpp
+++ b/src/name-component.hpp
@@ -349,15 +349,6 @@
return total_len;
}
-template
-size_t
-Component::wireEncode<true>(EncodingBuffer& block) const;
-
-template
-size_t
-Component::wireEncode<false>(EncodingEstimator& block) const;
-
-
} // namespace name
} // namespace ndn
diff --git a/src/name.hpp b/src/name.hpp
index 0bfbdba..f95bef5 100644
--- a/src/name.hpp
+++ b/src/name.hpp
@@ -525,15 +525,6 @@
return total_len;
}
-template
-size_t
-Name::wireEncode<true>(EncodingBuffer& block) const;
-
-template
-size_t
-Name::wireEncode<false>(EncodingEstimator& block) const;
-
-
} // namespace ndn
#endif