Commit 99661f09 authored by Dan Melnic's avatar Dan Melnic Committed by Facebook Github Bot

Fix "multiple definition of...

Fix "multiple definition of 'folly::dynamic::print_as_pseudo_json(std::ostream&) const'" linker error

Summary: Fix "multiple definition of 'folly::dynamic::print_as_pseudo_json(std::ostream&) const'" linker error

Reviewed By: yfeldblum

Differential Revision: D8016705

fbshipit-source-id: 7ef8306852afd8e765f22e657f44fbe67c66f6f5
parent c382ca4e
......@@ -22,15 +22,6 @@
using folly::dynamic;
// This test runs without any external dependencies, including json.
// This means that if there's a test failure, there's no way to print
// a useful runtime representation of the folly::dynamic. We will
// live with this in order to test dependencies. This method is
// normally provided by json.cpp.
void dynamic::print_as_pseudo_json(std::ostream& out) const {
out << "<folly::dynamic object of type " << type_ << ">";
}
TEST(Dynamic, Default) {
dynamic obj;
EXPECT_TRUE(obj.isNull());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment