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

This commit is contained in:
mattijs
2017-10-30 16:58:42 +00:00
parent 2851b885a1
commit 6f6029d0a6

View File

@ -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>&);