diff --git a/tutorials/vecops/vo001_AdoptOrOwnMemory.C b/tutorials/vecops/vo001_AdoptOrOwnMemory.C index bb1489b2e382ea706a8faaaf6cd9f761b11e0f4f..084a79a2ef80226642eecdc316a9cae91719c08d 100644 --- a/tutorials/vecops/vo001_AdoptOrOwnMemory.C +++ b/tutorials/vecops/vo001_AdoptOrOwnMemory.C @@ -10,14 +10,11 @@ /// \author Danilo Piparo // We use this class for didactic purposes: upon copy, a line is printed to the terminal. -class UponCopyPrinter -{ +class UponCopyPrinter { public: - UponCopyPrinter() = default; - UponCopyPrinter(UponCopyPrinter&&) = default; - UponCopyPrinter(const UponCopyPrinter&){ - std::cout << "Invoking copy c'tor!" << std::endl; - } + UponCopyPrinter() = default; + UponCopyPrinter(UponCopyPrinter &&) = default; + UponCopyPrinter(const UponCopyPrinter &) { std::cout << "Invoking copy c'tor!" << std::endl; } }; using namespace ROOT::VecOps; @@ -46,5 +43,4 @@ void vo001_AdoptOrOwnMemory() // Of course, now the addresses are different. std::cout << v.data() << " and " << v2.data() << std::endl; - }