CONFIG: incorrect BC code templates (fixes #1885)

- autoPtr to Function requires clone() method, not optional copy/move
  argument.

- fix bad character range for 'sed'
This commit is contained in:
Mark Olesen
2020-10-20 14:14:40 +02:00
parent f425424eef
commit e11c072bc4
14 changed files with 43 additions and 46 deletions

View File

@ -45,11 +45,11 @@ SourceFiles
namespace Foam
{
// Forward declarations
// Forward Declarations
class Istream;
class Ostream;
class CLASSNAME;
Istream& operator>>(Istream&, CLASSNAME&);
Ostream& operator<<(Ostream&, const CLASSNAME&);
@ -87,7 +87,7 @@ public:
// Generated Methods
// //- Construct null
// //- Default construct
// CLASSNAME() = default;
//
// //- Copy construct
@ -99,22 +99,22 @@ public:
// Constructors
//- Construct null
//- Default construct
CLASSNAME();
//- Construct from components
CLASSNAME(const dataType& data);
//- Construct from Istream
CLASSNAME(Istream& is);
//- Construct as copy
//- Copy construct
CLASSNAME(const CLASSNAME&);
//- Construct from Istream
explicit CLASSNAME(Istream& is);
// Selectors
//- Select null constructed
//- Select default constructed
static autoPtr<CLASSNAME> New();

View File

@ -25,7 +25,6 @@ License
\*---------------------------------------------------------------------------*/
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //