Commit 918d3ef5c913f9a8dab162bd5499fd796b53509c
1 parent
8ed13c33
example.h: Ensure there's no naming clash between constructor parameters & class members
Change-Id: I3525a2d6f09069c27aefd01d21f4b34824431904
Showing
1 changed file
with
5 additions
and
5 deletions
shared/example.h
| ... | ... | @@ -32,12 +32,12 @@ struct Example |
| 32 | 32 | // Constructors |
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | - * @param[in] name unique name of example | |
| 36 | - * @param[in] title The caption for the example to appear on a tile button. | |
| 35 | + * @param[in] uniqueName unique name of example | |
| 36 | + * @param[in] captionTitle The caption for the example to appear on a tile button. | |
| 37 | 37 | */ |
| 38 | - Example(std::string name, std::string title) | |
| 39 | - : name(name), | |
| 40 | - title(title) | |
| 38 | + Example(std::string uniqueName, std::string captionTitle) | |
| 39 | + : name(uniqueName), | |
| 40 | + title(captionTitle) | |
| 41 | 41 | { |
| 42 | 42 | } |
| 43 | 43 | ... | ... |