Cleanup: cpp-common: typo: clkSnapshot -> fieldPath
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 17 Mar 2022 02:09:34 +0000 (22:09 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 11 Sep 2023 15:24:02 +0000 (11:24 -0400)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: Idf62a2a8d1eb52799c71dee37f08e44af277b15a
Reviewed-on: https://review.lttng.org/c/babeltrace/+/7621
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/10763
Tested-by: jenkins <jenkins@lttng.org>
CI-Build: Philippe Proulx <eeppeliteloop@gmail.com>

src/cpp-common/bt2/field-path.hpp

index 8a4d9f22e327036df504e9fac41bbbaa85a00696..ed08a4796dd5b30825e2ecea3c2f608054256c1b 100644 (file)
@@ -137,13 +137,13 @@ public:
     {
     }
 
-    ConstFieldPath(const ConstFieldPath& clkSnapshot) noexcept : _ThisBorrowedObj {clkSnapshot}
+    ConstFieldPath(const ConstFieldPath& fieldPath) noexcept : _ThisBorrowedObj {fieldPath}
     {
     }
 
-    ConstFieldPath& operator=(const ConstFieldPath& clkSnapshot) noexcept
+    ConstFieldPath& operator=(const ConstFieldPath& fieldPath) noexcept
     {
-        _ThisBorrowedObj::operator=(clkSnapshot);
+        _ThisBorrowedObj::operator=(fieldPath);
         return *this;
     }
 
This page took 0.025246 seconds and 4 git commands to generate.