From 918d3ef5c913f9a8dab162bd5499fd796b53509c Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Tue, 18 May 2021 17:57:55 +0100 Subject: [PATCH] example.h: Ensure there's no naming clash between constructor parameters & class members Change-Id: I3525a2d6f09069c27aefd01d21f4b34824431904 --- shared/example.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/shared/example.h b/shared/example.h index 858167e..147f244 100644 --- a/shared/example.h +++ b/shared/example.h @@ -32,12 +32,12 @@ struct Example // Constructors /** - * @param[in] name unique name of example - * @param[in] title The caption for the example to appear on a tile button. + * @param[in] uniqueName unique name of example + * @param[in] captionTitle The caption for the example to appear on a tile button. */ - Example(std::string name, std::string title) - : name(name), - title(title) + Example(std::string uniqueName, std::string captionTitle) + : name(uniqueName), + title(captionTitle) { } -- 2.7.4