MPMCQueue.h: fix a bug introduced while accommodating -Wsign-compare
[folly.git] / folly / dynamic.cpp
index 25ab1032b5ca03ffcbbdadaceb2a3df19229e5e5..768e1a90c6b5747ff6b5943d20b238d137bf4c61 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2013 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,7 +34,10 @@ DEF_TYPE(dynamic::ObjectImpl, "object",  dynamic::OBJECT);
 
 #undef DEF_TYPE
 
+const char* dynamic::typeName() const {
+  return typeName(type_);
+}
+
 //////////////////////////////////////////////////////////////////////
 
 }
-