DER: In visitor code, use ndnboost::any. We can use ndnboost::any because this is an internal header and will not conflict with the application if it uses boost::any.
diff --git a/ndn-cpp/encoding/der/visitor/void-visitor.hpp b/ndn-cpp/encoding/der/visitor/void-visitor.hpp
index a041c10..7cd7999 100644
--- a/ndn-cpp/encoding/der/visitor/void-visitor.hpp
+++ b/ndn-cpp/encoding/der/visitor/void-visitor.hpp
@@ -18,15 +18,15 @@
class VoidVisitor
{
public:
- virtual void visit(DerBool&, Any) = 0;
- virtual void visit(DerInteger&, Any) = 0;
- virtual void visit(DerPrintableString&, Any) = 0;
- virtual void visit(DerBitString&, Any) = 0;
- virtual void visit(DerNull&, Any) = 0;
- virtual void visit(DerOctetString&, Any) = 0;
- virtual void visit(DerOid&, Any) = 0;
- virtual void visit(DerSequence&, Any) = 0;
- virtual void visit(DerGtime&, Any) = 0;
+ virtual void visit(DerBool&, ndnboost::any) = 0;
+ virtual void visit(DerInteger&, ndnboost::any) = 0;
+ virtual void visit(DerPrintableString&, ndnboost::any) = 0;
+ virtual void visit(DerBitString&, ndnboost::any) = 0;
+ virtual void visit(DerNull&, ndnboost::any) = 0;
+ virtual void visit(DerOctetString&, ndnboost::any) = 0;
+ virtual void visit(DerOid&, ndnboost::any) = 0;
+ virtual void visit(DerSequence&, ndnboost::any) = 0;
+ virtual void visit(DerGtime&, ndnboost::any) = 0;
};
} // der