X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fuserspace-probe-elf-cxx-binary%2Ftest_class.cpp;h=7dd53df39c1b3dd10b9e2fb6fb33cbb7a1064942;hb=7d46777ba0eaba7916ae822a7133f39740cdf9e5;hp=05a20c7a188466471b8a39370178b295eaa122da;hpb=c9e313bc594f40a86eed237dce222c0fc99c957f;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; }