ref: refs/heads/ma-misc
commit d757c120a528188f5a8f6818a6d1126e14637aee
Author: Michael Andres
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@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org