Re: [setup] Why does PackageSpecification have a privatecopy-constructor? (Robert?)

2004-08-31 Thread Max Bowsher
Robert Collins wrote: On Mon, 2004-08-30 at 18:33 +0100, Max Bowsher wrote: I can't see why setup's PackageSpecification class has a private copy-constructor. Am I missing something? erm. to only allow the class itself to create copies. Yes, but why was it decided to make that restriction? Either

Re: [setup] Why does PackageSpecification have a privatecopy-constructor? (Robert?)

2004-08-31 Thread Robert Collins
On Tue, 2004-08-31 at 08:54 +0100, Max Bowsher wrote: So we have code like that at the moment? Certainly. 4 occurrences in IniDBBuilderPackage.cc and 1 in package_db.cc. Eh? I can't find any. We have things like setSourcePackage(PackageSpecification(name)); which at the end of the call