Skip to content
Snippets Groups Projects
Commit 4fb18510 authored by Matthias Puchner's avatar Matthias Puchner
Browse files

const

parent 9e3d6bce
No related branches found
No related tags found
1 merge request!529Do not allow integration over Xi in Windows
Pipeline #51671 passed
......@@ -46,12 +46,12 @@ void SampleValidator::validateInterferences(const LayerItem* layer)
ASSERT(layer);
int iLayout = 0;
for (auto* layout : layer->layouts()) {
for (const auto* layout : layer->layouts()) {
iLayout++;
if (auto* c = dynamic_cast<const Interference2DAbstractLatticeItem*>(
if (const auto* c = dynamic_cast<const Interference2DAbstractLatticeItem*>(
layout->interference().currentItem()))
if (c->xiIntegration()) {
QString message =
const QString message =
QString("Interference function of layer '%1', Particle layout %2: "
"Integration over Xi is currently not supported "
"under Windows")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment