refactor(meshView): removed unused capture in anonymous function
This commit is contained in:
@@ -19,7 +19,7 @@ int main(int argv, char **argc) {
|
|||||||
mfem::FiniteElementSpace feSpace(&mesh, &feCollection);
|
mfem::FiniteElementSpace feSpace(&mesh, &feCollection);
|
||||||
mfem::GridFunction u(&feSpace);
|
mfem::GridFunction u(&feSpace);
|
||||||
mfem::FunctionCoefficient initCoeff (
|
mfem::FunctionCoefficient initCoeff (
|
||||||
[&mesh](const mfem::Vector &x) {
|
[](const mfem::Vector &x) {
|
||||||
return 1.0;
|
return 1.0;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user