mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -45,7 +45,7 @@ SourceFiles
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
// Forward declarations
|
||||
// Forward Declarations
|
||||
class someClass;
|
||||
|
||||
template<TemplateClassArgument>
|
||||
@ -90,7 +90,7 @@ public:
|
||||
|
||||
// Generated Methods
|
||||
|
||||
// //- Construct null
|
||||
// //- Default construct
|
||||
// CLASSNAME() = default;
|
||||
//
|
||||
// //- Copy construct
|
||||
@ -102,22 +102,22 @@ public:
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct null
|
||||
//- Default construct
|
||||
CLASSNAME();
|
||||
|
||||
//- Construct from components
|
||||
CLASSNAME(const dataType& data);
|
||||
|
||||
//- Construct from Istream
|
||||
CLASSNAME(Istream& is);
|
||||
|
||||
//- Construct as copy
|
||||
CLASSNAME(const CLASSNAME<TemplateArgument>&);
|
||||
|
||||
//- Construct from Istream
|
||||
explicit CLASSNAME(Istream& is);
|
||||
|
||||
|
||||
// Selectors
|
||||
|
||||
//- Select null constructed
|
||||
//- Select default constructed
|
||||
static autoPtr<CLASSNAME<TemplateArgument>> New();
|
||||
|
||||
|
||||
|
||||
@ -25,7 +25,6 @@ License
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||
|
||||
|
||||
Reference in New Issue
Block a user