[zypp-commit] r11537 - /trunk/libzypp/zypp/Arch.cc
Author: mlandres Date: Wed Oct 29 15:09:41 2008 New Revision: 11537 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11537&view=rev Log: adjust namespace Modified: trunk/libzypp/zypp/Arch.cc Modified: trunk/libzypp/zypp/Arch.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/Arch.cc?rev=11537&r1=11536&r2=11537&view=diff ============================================================================== --- trunk/libzypp/zypp/Arch.cc (original) +++ trunk/libzypp/zypp/Arch.cc Wed Oct 29 15:09:41 2008 @@ -131,17 +131,13 @@ namespace zypp { ///////////////////////////////////////////////////////////////// - /////////////////////////////////////////////////////////////////// - namespace - { ///////////////////////////////////////////////////////////////// - // builtin architecture STRING VALUES // // For arch 'foo' this macro defines: // const IdString _foo( "foo" ); // to be used in defCompatibleWith below! // const Arch Arch_foo( _foo ); // -#define DEF_BUILTIN(A) const IdString _##A( #A ); const Arch Arch_##A( _##A ) +#define DEF_BUILTIN(A) namespace { const IdString _##A( #A ); } const Arch Arch_##A( _##A ) DEF_BUILTIN( noarch ); DEF_BUILTIN( i386 ); @@ -188,6 +184,10 @@ DEF_BUILTIN( sh4a ); #undef DEF_BUILTIN + /////////////////////////////////////////////////////////////////// + namespace + { ///////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////////////// // // CLASS NAME : CompatSet -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
mlandres@svn.opensuse.org