Commit 8f99627c authored by laurence's avatar laurence
Browse files

ENH: Add constructor from FixedList

parent 855b58e3
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -69,6 +69,12 @@ public:
second() = s;
}
//- Construct from FixedList
inline Pair(const FixedList<Type, 2>& fl)
:
FixedList<Type, 2>(fl)
{}
//- Construct from Istream
inline Pair(Istream& is)
:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment