summaryrefslogtreecommitdiff
path: root/src/song
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-03-12 17:08:53 -0700
committerRosen Penev <rosenp@gmail.com>2020-03-12 19:04:39 -0700
commita2f5a63bbc1a21be672d358a107a3a206c0c5369 (patch)
tree7d2bea6fdbaa44d80db0f8dba2851c2de92d768e /src/song
parent2db8bcc353ce4360a6dbe4c73afcaae1c27fce43 (diff)
replace stdint.h with cstdint
The former is deprecated by C++14. The standard says they are the same: The header defines all types and macros the same as the C standard library header<stdint.h>. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/song')
-rw-r--r--src/song/Filter.hxx3
-rw-r--r--src/song/TagSongFilter.hxx2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/song/Filter.hxx b/src/song/Filter.hxx
index 7f64419d0..3754e3ad6 100644
--- a/src/song/Filter.hxx
+++ b/src/song/Filter.hxx
@@ -23,10 +23,9 @@
#include "AndSongFilter.hxx"
#include "util/Compiler.h"
+#include <cstdint>
#include <string>
-#include <stdint.h>
-
/**
* Special value for the db_selection_print() sort parameter.
*/
diff --git a/src/song/TagSongFilter.hxx b/src/song/TagSongFilter.hxx
index 92691e662..2f45d0e59 100644
--- a/src/song/TagSongFilter.hxx
+++ b/src/song/TagSongFilter.hxx
@@ -23,7 +23,7 @@
#include "ISongFilter.hxx"
#include "StringFilter.hxx"
-#include <stdint.h>
+#include <cstdint>
enum TagType : uint8_t;
struct Tag;