From cfa13f17b3a306786e31deb9a073c01ecc264b12 Mon Sep 17 00:00:00 2001 From: Jan Kupec Date: Sun, 9 Dec 2007 11:29:23 +0000 Subject: [PATCH] - default values for setters --- src/zypper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zypper.h b/src/zypper.h index ce4e84f..9215ea9 100644 --- a/src/zypper.h +++ b/src/zypper.h @@ -109,8 +109,8 @@ private: void doCommand(); void setCommand(const ZypperCommand & command) { _command = command; } - void setRunningShell(bool value) { _running_shell = value; } - void setRunningHelp(bool value) { _running_help = value; } + void setRunningShell(bool value = true) { _running_shell = value; } + void setRunningHelp(bool value = true) { _running_help = value; } private: -- 2.7.4