mirror of
https://github.com/iandinwoodie/cpp-design-patterns-for-humans.git
synced 2025-12-17 12:34:38 +03:00
Updated output comment location for improved readability.
Reading the output before reading the line that would result in such output seemed to interrupt the flow of reading.
This commit is contained in:
@@ -99,10 +99,10 @@ int main()
|
||||
About about(darkTheme);
|
||||
Careers careers(darkTheme);
|
||||
|
||||
// Output: About page in dark palette
|
||||
std::cout << about.getContent() << std::endl;
|
||||
// Output: Careers page in dark palette
|
||||
// Output: About page in dark palette
|
||||
std::cout << careers.getContent() << std::endl;
|
||||
// Output: Careers page in dark palette
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user