mirror of
https://github.com/iandinwoodie/cpp-design-patterns-for-humans.git
synced 2025-12-17 04:24:40 +03:00
Explicit return value for all source examples.
This commit is contained in:
@@ -114,4 +114,6 @@ int main()
|
|||||||
std::cout << vanilla->getPrice() << std::endl;
|
std::cout << vanilla->getPrice() << std::endl;
|
||||||
// Output: Simple coffee, milk, whip, vanilla
|
// Output: Simple coffee, milk, whip, vanilla
|
||||||
std::cout << vanilla->getDescription() << std::endl;
|
std::cout << vanilla->getDescription() << std::endl;
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user