X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fuserspace-probe-elf-cxx-binary%2Ftest_class.cpp;h=7dd53df39c1b3dd10b9e2fb6fb33cbb7a1064942;hb=28ab034a2c3582d07d3423d2d746731f87d3969f;hp=83bde0b205bd1e8eb8ffc69ab63f09db1155b42f;hpb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;p=lttng-tools.git diff --git a/tests/utils/testapp/userspace-probe-elf-cxx-binary/test_class.cpp b/tests/utils/testapp/userspace-probe-elf-cxx-binary/test_class.cpp index 83bde0b20..7dd53df39 100644 --- a/tests/utils/testapp/userspace-probe-elf-cxx-binary/test_class.cpp +++ b/tests/utils/testapp/userspace-probe-elf-cxx-binary/test_class.cpp @@ -5,11 +5,13 @@ * */ -#include "test_class.h" -test_class::test_class() { +#include "test_class.hpp" +test_class::test_class() +{ test_member = 1; } -void test_class::test_method() { +void test_class::test_method() +{ test_member += 1; }