From 4ceb548dff5f1fddbbca8f69f6746154be99251a Mon Sep 17 00:00:00 2001 From: andy Date: Mon, 8 Apr 2013 15:30:54 +0100 Subject: [PATCH] ENH: wordRe - made conversion to word an explicit constructor --- src/OpenFOAM/primitives/strings/wordRe/wordRe.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenFOAM/primitives/strings/wordRe/wordRe.H b/src/OpenFOAM/primitives/strings/wordRe/wordRe.H index 587e67108c..e45044c997 100644 --- a/src/OpenFOAM/primitives/strings/wordRe/wordRe.H +++ b/src/OpenFOAM/primitives/strings/wordRe/wordRe.H @@ -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.