From d82d7834950f718dc3f6228db3c3922c8449d3c2 Mon Sep 17 00:00:00 2001 From: Ian Dinwoodie Date: Sun, 19 May 2019 17:42:52 -0400 Subject: [PATCH] Explicit return value for all source examples. --- examples/structural/decorator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/structural/decorator.cpp b/examples/structural/decorator.cpp index b3cfcd4..a51374f 100644 --- a/examples/structural/decorator.cpp +++ b/examples/structural/decorator.cpp @@ -114,4 +114,6 @@ int main() std::cout << vanilla->getPrice() << std::endl; // Output: Simple coffee, milk, whip, vanilla std::cout << vanilla->getDescription() << std::endl; + + return 0; }