projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix compiler warnings from gcc-4.9 + -Wunused-variable
[folly.git]
/
folly
/
test
/
DynamicTest.cpp
diff --git
a/folly/test/DynamicTest.cpp
b/folly/test/DynamicTest.cpp
index e043d9142a1842aa7b428ad8d3d299ef5f482d73..f9360f0212bc2b571286ecb5323268963302fd7c 100644
(file)
--- a/
folly/test/DynamicTest.cpp
+++ b/
folly/test/DynamicTest.cpp
@@
-235,6
+235,9
@@
TEST(Dynamic, Operator) {
dynamic d1 = dynamic::object;
dynamic d2 = dynamic::object;
auto foo = d1 < d2;
+ LOG(ERROR) << "operator < returned "
+ << static_cast<int>(foo)
+ << " instead of throwing";
} catch (std::exception const& e) {
caught = true;
}