Mailinglist Archive: zypp-commit (38 mails)

< Previous Next >
[zypp-commit] <libzypp> master : Use empty arch as default arg, not noarch.
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Mon, 31 Aug 2009 12:13:17 +0200
  • Message-id: <E1Mi6rw-0007xj-HT@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit d757c120a528188f5a8f6818a6d1126e14637aee
Author: Michael Andres <ma@xxxxxxx>
Date: Mon Aug 31 12:13:17 2009 +0200

Use empty arch as default arg, not noarch.
---
tests/lib/TestSetup.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/lib/TestSetup.h b/tests/lib/TestSetup.h
index 4108257..0fdbae4 100644
--- a/tests/lib/TestSetup.h
+++ b/tests/lib/TestSetup.h
@@ -81,14 +81,14 @@ class TestSetup
typedef TestSetupOptions Options;

public:
- TestSetup( const Arch & sysarch_r = Arch() )
+ TestSetup( const Arch & sysarch_r = Arch_empty )
{ _ctor( Pathname(), sysarch_r, Options() ); }

- TestSetup( const Pathname & rootdir_r, const Arch & sysarch_r = Arch(),
const Options & options_r = Options() )
+ TestSetup( const Pathname & rootdir_r, const Arch & sysarch_r =
Arch_empty, const Options & options_r = Options() )
{ _ctor( rootdir_r, sysarch_r, options_r ); }

TestSetup( const Pathname & rootdir_r, const Options & options_r )
- { _ctor( rootdir_r, Arch(), options_r ); }
+ { _ctor( rootdir_r, Arch_empty, options_r ); }

~TestSetup()
{ USR << (_tmprootdir.path() == _rootdir ? "DELETE" : "KEEP") << "
TESTSETUP below " << _rootdir << endl; }
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages