X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fuserspace-probe-elf-cxx-binary%2Ftest_class.cpp;h=7dd53df39c1b3dd10b9e2fb6fb33cbb7a1064942;hb=28ab034a2c3582d07d3423d2d746731f87d3969f;hp=05a20c7a188466471b8a39370178b295eaa122da;hpb=52e345b9ac912d033c2a2c25a170a01cf209839d;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 05a20c7a1..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 @@ -6,10 +6,12 @@ */ #include "test_class.hpp" -test_class::test_class() { +test_class::test_class() +{ test_member = 1; } -void test_class::test_method() { +void test_class::test_method() +{ test_member += 1; }