mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-09 23:05:04 -06:00
Obvious fixes to stupid warnings
This commit is contained in:
parent
e0eac1f20c
commit
5f19539df5
6 changed files with 7 additions and 7 deletions
|
@ -220,7 +220,7 @@ SCENARIO("DynamicPrintConfig serialization", "[Config]") {
|
|||
cereal::BinaryOutputArchive oarchive(ss);
|
||||
oarchive(cfg);
|
||||
serialized = ss.str();
|
||||
} catch (std::runtime_error e) {
|
||||
} catch (std::runtime_error &e) {
|
||||
e.what();
|
||||
}
|
||||
|
||||
|
@ -230,7 +230,7 @@ SCENARIO("DynamicPrintConfig serialization", "[Config]") {
|
|||
std::stringstream ss(serialized);
|
||||
cereal::BinaryInputArchive iarchive(ss);
|
||||
iarchive(cfg2);
|
||||
} catch (std::runtime_error e) {
|
||||
} catch (std::runtime_error &e) {
|
||||
e.what();
|
||||
}
|
||||
REQUIRE(cfg == cfg2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue