diff options
author | Kristina Chodorow <kchodorow@google.com> | 2015-04-10 17:29:58 +0000 |
---|---|---|
committer | Lukacs Berki <lberki@google.com> | 2015-04-13 11:45:49 +0000 |
commit | 3af12e60e75a8d6acc5c272c29bf562030f6f975 (patch) | |
tree | 4f1e73349a339e5aba032f531c1158dda2c2e09f /examples/cpp/hello-fail.cc | |
parent | ef455a6171fad427afcdc11787e2e115f99ac5b0 (diff) |
Remove constructor delegation from example
This requires gcc 4.7+ to work, Travis runs gcc 4.6.
--
MOS_MIGRATED_REVID=90818739
Diffstat (limited to 'examples/cpp/hello-fail.cc')
-rw-r--r-- | examples/cpp/hello-fail.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cpp/hello-fail.cc b/examples/cpp/hello-fail.cc index 5b561cb0ce..5fb2292354 100644 --- a/examples/cpp/hello-fail.cc +++ b/examples/cpp/hello-fail.cc @@ -11,7 +11,7 @@ using std::string; * "test" has failed. */ int main(int argc, char** argv) { - HelloLib lib; + HelloLib lib("Hello"); string thing = "barf"; if (argc > 1) { thing = argv[1]; |