mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: LList: make constructor explicit. Fixes #630.
This commit is contained in:
@ -110,13 +110,13 @@ public:
|
||||
{}
|
||||
|
||||
//- Construct given initial T
|
||||
LList(T a)
|
||||
explicit LList(T a)
|
||||
:
|
||||
LListBase(new link(a))
|
||||
{}
|
||||
|
||||
//- Construct from Istream
|
||||
LList(Istream&);
|
||||
explicit LList(Istream&);
|
||||
|
||||
//- Construct as copy
|
||||
LList(const LList<LListBase, T>&);
|
||||
|
||||
Reference in New Issue
Block a user