summaryrefslogtreecommitdiff
path: root/src/test/VariantTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/VariantTest.cpp')
-rwxr-xr-xsrc/test/VariantTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/VariantTest.cpp b/src/test/VariantTest.cpp
index e83ebe6..b565573 100755
--- a/src/test/VariantTest.cpp
+++ b/src/test/VariantTest.cpp
@@ -104,7 +104,7 @@ TEST_F(VariantTest, VariantTestPack) {
EXPECT_EQ(myIntCopy2, fromInt);
#ifdef __EXCEPTIONS
- EXPECT_ANY_THROW(const int& myFake = myVariant.get<double>());
+ EXPECT_ANY_THROW(myVariant.get<double>());
#endif
EXPECT_TRUE(myVariant.isType<int>());