*: add "noexcept" to many, many function prototypes
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
This commit is contained in:
@@ -88,7 +88,7 @@ public:
|
||||
|
||||
gcc_pure
|
||||
static inline pid_t
|
||||
ReadPidFile(Path path)
|
||||
ReadPidFile(Path path) noexcept
|
||||
{
|
||||
int fd = OpenFile(path, O_RDONLY, 0);
|
||||
if (fd < 0)
|
||||
|
Reference in New Issue
Block a user