summaryrefslogtreecommitdiff
path: root/src/test/VariantTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/VariantTest.cpp')
-rwxr-xr-xsrc/test/VariantTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/VariantTest.cpp b/src/test/VariantTest.cpp
index ed793f5..e83ebe6 100755
--- a/src/test/VariantTest.cpp
+++ b/src/test/VariantTest.cpp
@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <gtest/gtest.h>
-#include <src/CommonAPI/SerializableVariant.h>
+#include "../CommonAPI/SerializableVariant.h"
using namespace CommonAPI;
@@ -64,7 +64,7 @@ struct test2: CommonAPI::SerializableStruct {
TEST_F(VariantTest, VariantTestPack) {
int fromInt = 5;
- double fromDouble = 12.344d;
+ double fromDouble = 12.344;
std::string fromString = "123abcsadfaljkawlöfasklöerklöfjasklfjysklfjaskfjsklösdfdko4jdfasdjioögjopefgip3rtgjiprg!";
Variant<int, double, std::string> myVariant(fromInt);