Commit d9211148 authored by Max Kellermann's avatar Max Kellermann

db/Helpers: add "noexcept"

parent 39a1f03d
......@@ -38,7 +38,7 @@ typedef std::set<const char *, StringLess> StringSet;
static void
StatsVisitTag(DatabaseStats &stats, StringSet &artists, StringSet &albums,
const Tag &tag)
const Tag &tag) noexcept
{
if (!tag.duration.IsNegative())
stats.total_duration += tag.duration;
......@@ -61,7 +61,7 @@ StatsVisitTag(DatabaseStats &stats, StringSet &artists, StringSet &albums,
static void
StatsVisitSong(DatabaseStats &stats, StringSet &artists, StringSet &albums,
const LightSong &song)
const LightSong &song) noexcept
{
++stats.song_count;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment