Skip to content
Snippets Groups Projects
Commit f05d0392 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix a few clazy warnings

parent 87ab36c4
No related branches found
No related tags found
1 merge request!37Feature/language
......@@ -72,9 +72,9 @@ struct GlaceScheme
GlaceScheme(const IMesh& mesh,
const std::vector<std::shared_ptr<const IBoundaryConditionDescriptor>>& bc_descriptor_list,
FunctionSymbolId rho_id,
FunctionSymbolId u_id,
FunctionSymbolId p_id)
const FunctionSymbolId& rho_id,
const FunctionSymbolId& u_id,
const FunctionSymbolId& p_id)
: m_mesh{dynamic_cast<const MeshType&>(mesh)}
{
MeshDataType mesh_data(m_mesh);
......@@ -254,7 +254,8 @@ SchemeModule::SchemeModule()
[](std::shared_ptr<const IMesh> p_mesh,
const std::vector<std::shared_ptr<const IBoundaryConditionDescriptor>>&
bc_descriptor_list,
FunctionSymbolId rho_id, FunctionSymbolId u_id, FunctionSymbolId p_id) -> void {
const FunctionSymbolId& rho_id, const FunctionSymbolId& u_id,
const FunctionSymbolId& p_id) -> void {
switch (p_mesh->dimension()) {
case 1: {
GlaceScheme<1>{*p_mesh, bc_descriptor_list, rho_id, u_id, p_id};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment