Versioning for Thrift, remove thrift/lib/cpp/config.h
[folly.git] / folly / dynamic.cpp
index 86f20b1218ddf3346e4cc19ad0fb5ce0643fdb31..825cb775f048038bc5cfa01708831a07b2455fbf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2012 Facebook, Inc.
+ * Copyright 2014 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-#include "folly/dynamic.h"
+#include <folly/dynamic.h>
 
 namespace folly {
 
@@ -34,6 +34,10 @@ DEF_TYPE(dynamic::ObjectImpl, "object",  dynamic::OBJECT);
 
 #undef DEF_TYPE
 
+const char* dynamic::typeName() const {
+  return typeName(type_);
+}
+
 //////////////////////////////////////////////////////////////////////
 
 }