Skip to content
Snippets Groups Projects
Commit 72530d40 authored by Sergio Ferraris's avatar Sergio Ferraris
Browse files

ENH: adding const access to reactingMixture list

parent c3e9d8bd
Branches
Tags
No related merge requests found
......@@ -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
......@@ -96,6 +96,11 @@ public:
{
return PtrList<Reaction<ThermoType> >::operator[](i);
}
const Reaction<ThermoType>& operator [] (const label i) const
{
return PtrList<Reaction<ThermoType> >::operator[](i);
}
};
......
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