Skip to content

Commit e369865

Browse files
Format
1 parent a5e9287 commit e369865

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

lib/checkexceptionsafety.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ void CheckExceptionSafety::nothrowThrows()
296296
if (!function)
297297
continue;
298298

299-
bool isNoExcept = false, isEntryPoint = false;
299+
bool isNoExcept = false, isEntryPoint = false;
300300

301301
// check noexcept and noexcept(true) functions
302302
if (function->isNoExcept()) {
@@ -323,7 +323,6 @@ void CheckExceptionSafety::nothrowThrows()
323323
else
324324
noexceptThrowError(throws);
325325
}
326-
327326
}
328327
}
329328

@@ -446,7 +445,7 @@ void CheckExceptionSafety::getErrorMessages(ErrorLogger *errorLogger, const Sett
446445
c.rethrowCopyError(nullptr, "varname");
447446
c.catchExceptionByValueError(nullptr);
448447
c.noexceptThrowError(nullptr);
449-
c.entryPointThrowError(nullptr);
448+
c.entryPointThrowError(nullptr);
450449
c.unhandledExceptionSpecificationError(nullptr, nullptr, "funcname");
451450
c.rethrowNoCurrentExceptionError(nullptr);
452451
}

0 commit comments

Comments
 (0)