ENH: wordRe - made conversion to word an explicit constructor

This commit is contained in:
andy
2013-04-08 15:30:54 +01:00
parent 8cadf0deb5
commit 4ceb548dff

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -123,7 +123,7 @@ public:
inline wordRe(const keyType&, const compOption=LITERAL);
//- Construct as copy of word
inline wordRe(const word&);
inline explicit wordRe(const word&);
//- Construct as copy of character array
// Optionally specify how it should be treated.