Skip to content
Snippets Groups Projects
Commit 0950ccea authored by mattijs's avatar mattijs
Browse files

COMP: LList: make constructor explicit. Fixes #630.

parent d2fa70c5
No related branches found
No related tags found
No related merge requests found
...@@ -110,13 +110,13 @@ public: ...@@ -110,13 +110,13 @@ public:
{} {}
//- Construct given initial T //- Construct given initial T
LList(T a) explicit LList(T a)
: :
LListBase(new link(a)) LListBase(new link(a))
{} {}
//- Construct from Istream //- Construct from Istream
LList(Istream&); explicit LList(Istream&);
//- Construct as copy //- Construct as copy
LList(const LList<LListBase, T>&); LList(const LList<LListBase, T>&);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment