From 5b40892a00c8c59bb383c2be129ff4b045e27bf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Boutonn=C3=A9?= Date: Sat, 12 Dec 2009 22:05:31 +0000 Subject: [PATCH] Fix compilation of example code. svn-id: r46355 --- example_tool.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/example_tool.cpp b/example_tool.cpp index 6ed3c351..0f82c0a4 100644 --- a/example_tool.cpp +++ b/example_tool.cpp @@ -94,12 +94,11 @@ void CompressionExample::parseExtraArguments() { // Arguments are stored in the _arguments member. // Remove any arguments that you have "used up" if (!_arguments.empty() && _arguments.front() == "-a") { - // Set our member - _outputFiles = true; + // Set our member + _outputFiles = true; - // We matched one argument, so remove it - _arguments.pop_front(); - } + // We matched one argument, so remove it + _arguments.pop_front(); } }