mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-04 20:44:00 -06:00
Fixing clang compiler warnings
This commit is contained in:
parent
f72d83993e
commit
5fd279cbc8
18 changed files with 27 additions and 23 deletions
|
@ -220,8 +220,8 @@ SCENARIO("DynamicPrintConfig serialization", "[Config]") {
|
|||
cereal::BinaryOutputArchive oarchive(ss);
|
||||
oarchive(cfg);
|
||||
serialized = ss.str();
|
||||
} catch (std::runtime_error &e) {
|
||||
e.what();
|
||||
} catch (const std::runtime_error & /* e */) {
|
||||
// e.what();
|
||||
}
|
||||
|
||||
THEN("Config object contains ini file options.") {
|
||||
|
@ -230,8 +230,8 @@ SCENARIO("DynamicPrintConfig serialization", "[Config]") {
|
|||
std::stringstream ss(serialized);
|
||||
cereal::BinaryInputArchive iarchive(ss);
|
||||
iarchive(cfg2);
|
||||
} catch (std::runtime_error &e) {
|
||||
e.what();
|
||||
} catch (const std::runtime_error & /* e */) {
|
||||
// e.what();
|
||||
}
|
||||
REQUIRE(cfg == cfg2);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue