mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: avoid unrestricted dictionary lookup in conversion, sampling, surfMesh
- aids with detection of excess tokens (issue #762) - deprecated dictionary::operator[] in favour of the lookup() method which offers more flexibilty and clarity of purpose. Additionally, the read<> and get<> forms should generally be used instead anyhow.
This commit is contained in:
@ -65,7 +65,7 @@ class patchCloudSet
|
||||
// Private data
|
||||
|
||||
//- Sampling points
|
||||
const List<point> sampleCoords_;
|
||||
const pointField sampleCoords_;
|
||||
|
||||
//- Patches to sample
|
||||
const labelHashSet patchSet_;
|
||||
|
||||
Reference in New Issue
Block a user