mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-16 08:51:26 -06:00
Cleanup for coding style
Add strict mode to check_style_guide script
This commit is contained in:
@@ -84,7 +84,7 @@ std::string to_string(openspace::documentation::TestResult::Offense::Reason reas
|
||||
throw ghoul::MissingCaseException();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
std::string to_string(openspace::documentation::TestResult::Warning::Reason reason) {
|
||||
switch (reason) {
|
||||
case openspace::documentation::TestResult::Warning::Reason::Deprecated:
|
||||
@@ -106,7 +106,7 @@ SpecificationError::SpecificationError(TestResult res, std::string comp)
|
||||
, result(std::move(res))
|
||||
{
|
||||
ghoul_assert(!result.success, "Result's success must be false");
|
||||
|
||||
|
||||
message += " (";
|
||||
for (const TestResult::Offense& o : result.offenses) {
|
||||
message += o.offender + ',';
|
||||
|
||||
Reference in New Issue
Block a user