diff options
Diffstat (limited to 'src/mg_schematic.cpp')
-rw-r--r-- | src/mg_schematic.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mg_schematic.cpp b/src/mg_schematic.cpp index c50e90b3a..8874abd42 100644 --- a/src/mg_schematic.cpp +++ b/src/mg_schematic.cpp @@ -56,7 +56,7 @@ void SchematicManager::clear() DecoSchematic *dschem = dynamic_cast<DecoSchematic *>(deco); if (dschem) dschem->schematic = NULL; - } catch (std::bad_cast) { + } catch (const std::bad_cast &) { } } @@ -68,8 +68,7 @@ void SchematicManager::clear() Schematic::Schematic() -{ -} += default; Schematic::~Schematic() |