fix asan build
authorIgor Sugak <sugak@fb.com>
Wed, 15 Nov 2017 06:42:28 +0000 (22:42 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 15 Nov 2017 06:57:33 +0000 (22:57 -0800)
Reviewed By: yfeldblum

Differential Revision: D6332075

fbshipit-source-id: 26a279b6ee4253a8be8f9f63e6900c2082a5486d

folly/test/DynamicTest.cpp

index 407ed5fe62c2f2f4a64d3e136f237f00d35ad287..fe34904d75d9eca150a4b4dd66d8aa5a7692e0fc 100644 (file)
@@ -22,7 +22,6 @@
 
 using folly::dynamic;
 
-#ifndef FOLLY_SANITIZE_ADDRESS
 // 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
@@ -31,7 +30,6 @@ using folly::dynamic;
 void dynamic::print_as_pseudo_json(std::ostream& out) const {
   out << "<folly::dynamic object of type " << type_ << ">";
 }
-#endif
 
 TEST(Dynamic, Default) {
   dynamic obj;