*: add "noexcept" to many, many function prototypes

See commit 71f0ed8b74
This commit is contained in:
Max Kellermann
2017-05-15 23:05:45 +02:00
parent cde5a07981
commit c5996c0593
11 changed files with 20 additions and 20 deletions

View File

@@ -188,24 +188,24 @@ public:
*/
void AllowFile(Path path_fs) const;
Partition &GetPartition() {
Partition &GetPartition() noexcept {
return *partition;
}
void SetPartition(Partition &new_partition) {
void SetPartition(Partition &new_partition) noexcept {
partition = &new_partition;
// TODO: set various idle flags?
}
gcc_pure
Instance &GetInstance();
Instance &GetInstance() noexcept;
gcc_pure
playlist &GetPlaylist();
playlist &GetPlaylist() noexcept;
gcc_pure
PlayerControl &GetPlayerControl();
PlayerControl &GetPlayerControl() noexcept;
/**
* Wrapper for Instance::GetDatabase().