Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Planned maintenance at 14:00 - platform may be offline until 15:00 (UK times)
Open sidebar
Development
openfoam
Commits
e252ec46
Commit
e252ec46
authored
Jan 28, 2020
by
Mark OLESEN
Browse files
COMP: backport of updates for gcc-92 compilation
parent
21de95bb
Changes
115
Hide whitespace changes
Inline
Side-by-side
applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/conformalVoronoiMesh/indexedVertex/indexedVertex.H
View file @
e252ec46
...
...
@@ -144,6 +144,13 @@ public:
typedef
indexedVertex
<
Gt
,
Vb2
>
Other
;
};
// Generated Methods
//- Copy construct
indexedVertex
(
const
indexedVertex
&
)
=
default
;
// Constructors
inline
indexedVertex
();
...
...
src/OpenFOAM/containers/Bits/PackedList/PackedList.H
View file @
e252ec46
...
...
@@ -472,6 +472,12 @@ public:
public:
//- Copy construct
reference
(
const
reference
&
)
=
default
;
//- Move construct
reference
(
reference
&&
)
=
default
;
//- Value assignment
inline
void
operator
=
(
const
reference
&
other
);
...
...
src/OpenFOAM/containers/Bits/bitSet/bitSet.H
View file @
e252ec46
...
...
@@ -447,6 +447,12 @@ public:
public:
//- Copy construct
reference
(
const
reference
&
)
=
default
;
//- Move construct
reference
(
reference
&&
)
=
default
;
//- Flip the bit at the position, no range-checking
inline
void
flip
();
...
...
src/OpenFOAM/containers/HashTables/HashTable/HashTable.H
View file @
e252ec46
...
...
@@ -741,8 +741,11 @@ public:
// Constructors
//- Construct null (end iterator)
inline
const_iterator
()
=
default
;
//- Default construct (end iterator)
const_iterator
()
=
default
;
//- Copy construct
const_iterator
(
const
const_iterator
&
)
=
default
;
//- Copy construct from similar access type
inline
explicit
const_iterator
(
const
Iterator
<
true
>&
iter
)
...
...
src/OpenFOAM/containers/LinkedLists/linkTypes/DLListBase/DLListBase.H
View file @
e252ec46
...
...
@@ -233,6 +233,9 @@ public:
public:
//- Copy construct
iterator
(
const
iterator
&
)
=
default
;
//- Construct for a node on a list
inline
iterator
(
DLListBase
*
list
,
link
*
item
);
...
...
src/OpenFOAM/containers/LinkedLists/linkTypes/SLListBase/SLListBase.H
View file @
e252ec46
...
...
@@ -209,6 +209,9 @@ public:
public:
//- Copy construct
iterator
(
const
iterator
&
)
=
default
;
//- Construct for a node on the list
inline
iterator
(
SLListBase
*
list
,
link
*
item
);
...
...
src/OpenFOAM/containers/Lists/SubList/SubList.H
View file @
e252ec46
...
...
@@ -76,6 +76,12 @@ public:
inline
static
const
SubList
<
T
>&
null
();
// Generated Methods
//- Copy construct
SubList
(
const
SubList
&
)
=
default
;
// Constructors
//- Construct from UList, the entire size
...
...
src/OpenFOAM/containers/Lists/UList/UList.H
View file @
e252ec46
...
...
@@ -208,6 +208,12 @@ public:
};
// Generated Methods
//- Copy construct
UList
(
const
UList
<
T
>&
)
=
default
;
// Constructors
//- Null constructor
...
...
src/OpenFOAM/db/IOobject/IOobject.H
View file @
e252ec46
...
...
@@ -267,6 +267,15 @@ public:
);
// Generated Methods
//- Copy construct
IOobject
(
const
IOobject
&
)
=
default
;
//- Destructor
virtual
~
IOobject
()
=
default
;
// Constructors
//- Construct from name, instance, registry, io options
...
...
@@ -336,10 +345,6 @@ public:
}
//- Destructor
virtual
~
IOobject
()
=
default
;
// Member Functions
// General access
...
...
src/OpenFOAM/db/IOobjects/IOdictionary/baseIOdictionary.C
View file @
e252ec46
...
...
@@ -77,12 +77,6 @@ Foam::baseIOdictionary::baseIOdictionary
}
// * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * * //
Foam
::
baseIOdictionary
::~
baseIOdictionary
()
{}
// * * * * * * * * * * * * * * * Members Functions * * * * * * * * * * * * * //
const
Foam
::
word
&
Foam
::
baseIOdictionary
::
name
()
const
...
...
src/OpenFOAM/db/IOobjects/IOdictionary/baseIOdictionary.H
View file @
e252ec46
...
...
@@ -68,6 +68,18 @@ public:
TypeName
(
"dictionary"
);
// Generated Methods
//- Copy construct
baseIOdictionary
(
const
baseIOdictionary
&
)
=
default
;
//- Move construct
baseIOdictionary
(
baseIOdictionary
&&
)
=
default
;
//- Destructor
virtual
~
baseIOdictionary
()
=
default
;
// Constructors
//- Construct given an IOobject
...
...
@@ -80,11 +92,7 @@ public:
baseIOdictionary
(
const
IOobject
&
,
Istream
&
);
//- Destructor
virtual
~
baseIOdictionary
();
// Member functions
// Member Functions
//- Return complete path + object name if the file exists
// either in the case/processor or case otherwise null
...
...
src/OpenFOAM/db/IOstreams/IOstreams/IOstream.H
View file @
e252ec46
...
...
@@ -147,6 +147,15 @@ protected:
public:
// Generated Methods
//- Copy construct
IOstream
(
const
IOstream
&
)
=
default
;
//- Destructor
virtual
~
IOstream
()
=
default
;
// Constructors
//- Construct with specified stream option
...
...
@@ -174,10 +183,6 @@ public:
{}
//- Destructor
virtual
~
IOstream
()
=
default
;
// Member Functions
// Access
...
...
src/OpenFOAM/db/IOstreams/IOstreams/Istream.H
View file @
e252ec46
...
...
@@ -74,6 +74,15 @@ class Istream
public:
// Generated Methods
//- Copy construct
Istream
(
const
Istream
&
)
=
default
;
//- Destructor
virtual
~
Istream
()
=
default
;
// Constructors
//- Construct and set stream status
...
...
@@ -89,10 +98,6 @@ public:
{}
//- Destructor
virtual
~
Istream
()
=
default
;
// Member Functions
// Read Functions
...
...
src/OpenFOAM/db/IOstreams/IOstreams/Ostream.H
View file @
e252ec46
...
...
@@ -74,6 +74,15 @@ protected:
public:
// Generated Methods
//- Copy construct
Ostream
(
const
Ostream
&
)
=
default
;
//- Destructor
virtual
~
Ostream
()
=
default
;
// Constructors
//- Construct and set stream status
...
...
@@ -88,10 +97,6 @@ public:
{}
//- Destructor
virtual
~
Ostream
()
=
default
;
// Member Functions
// Write Functions
...
...
src/OpenFOAM/db/IOstreams/Sstreams/OSstream.H
View file @
e252ec46
...
...
@@ -62,14 +62,17 @@ class OSstream
std
::
ostream
&
os_
;
// Private Member Functions
public:
// Generated Methods
//- Copy construct
OSstream
(
const
OSstream
&
)
=
default
;
//- No copy assignment
void
operator
=
(
const
OSstream
&
)
=
delete
;
public:
// Constructors
//- Construct as wrapper around std::ostream and set stream status
...
...
src/OpenFOAM/db/IOstreams/Tstreams/ITstream.C
View file @
e252ec46
...
...
@@ -453,4 +453,32 @@ void Foam::ITstream::append(tokenList&& newTokens, const bool lazy)
}
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
void
Foam
::
ITstream
::
operator
=
(
const
ITstream
&
is
)
{
Istream
::
operator
=
(
is
);
tokenList
::
operator
=
(
is
);
name_
=
is
.
name_
;
rewind
();
}
void
Foam
::
ITstream
::
operator
=
(
const
tokenList
&
toks
)
{
tokenList
::
operator
=
(
toks
);
rewind
();
}
void
Foam
::
ITstream
::
operator
=
(
tokenList
&&
toks
)
{
tokenList
::
operator
=
(
std
::
move
(
toks
));
rewind
();
}
// ************************************************************************* //
src/OpenFOAM/db/IOstreams/Tstreams/ITstream.H
View file @
e252ec46
...
...
@@ -328,14 +328,26 @@ public:
}
// Output
// Output
//- Print description
of stream
to Ostream
void
print
(
Ostream
&
os
)
const
;
//- Print
stream
description to Ostream
void
print
(
Ostream
&
os
)
const
;
//- Concatenate tokens into a space-separated std::string.
//- The resulting string may contain quote characters.
std
::
string
toString
()
const
;
//- Concatenate tokens into a space-separated std::string.
//- The resulting string may contain quote characters.
std
::
string
toString
()
const
;
// Member Operators
//- Copy assignment, with rewind()
void
operator
=
(
const
ITstream
&
is
);
//- Copy assignment of tokens, with rewind()
void
operator
=
(
const
tokenList
&
toks
);
//- Move assignment of tokens, with rewind()
void
operator
=
(
tokenList
&&
toks
);
};
...
...
src/OpenFOAM/db/error/IOerror.C
View file @
e252ec46
...
...
@@ -55,7 +55,7 @@ Foam::IOerror::IOerror(const dictionary& errDict)
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam
::
IOerror
::~
IOerror
()
throw
()
Foam
::
IOerror
::~
IOerror
()
noexcept
{}
...
...
src/OpenFOAM/db/error/error.C
View file @
e252ec46
...
...
@@ -129,7 +129,7 @@ Foam::error::error(const error& err)
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam
::
error
::~
error
()
throw
()
Foam
::
error
::~
error
()
noexcept
{
delete
messageStreamPtr_
;
}
...
...
src/OpenFOAM/db/error/error.H
View file @
e252ec46
...
...
@@ -95,7 +95,7 @@ public:
//- Destructor
virtual
~
error
()
throw
()
;
virtual
~
error
()
noexcept
;
// Static Member Functions
...
...
@@ -239,7 +239,7 @@ public:
//- Destructor
virtual
~
IOerror
()
throw
()
;
virtual
~
IOerror
()
noexcept
;
// Member functions
...
...
Prev
1
2
3
4
5
6
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment