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=HEAD;hp=e673854fec834b80a7f5c27b86fccb10a2a2bed9;hpb=d027de5b303edccbad880d7b9494c3f562f1b323;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 e673854fe..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 @@ -1,26 +1,17 @@ /* - * Copyright (C) 2018 Francis Deslauriers + * Copyright (C) 2018 Francis Deslauriers * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * SPDX-License-Identifier: LGPL-2.1-or-later * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#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; }