summaryrefslogtreecommitdiff
path: root/src/SongSave.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/SongSave.cxx')
-rw-r--r--src/SongSave.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SongSave.cxx b/src/SongSave.cxx
index c123ffb19..26ccee72c 100644
--- a/src/SongSave.cxx
+++ b/src/SongSave.cxx
@@ -96,7 +96,7 @@ song_load(TextFile &file, const char *uri,
char *line;
while ((line = file.ReadLine()) != nullptr &&
!StringIsEqual(line, SONG_END)) {
- char *colon = strchr(line, ':');
+ char *colon = std::strchr(line, ':');
if (colon == nullptr || colon == line) {
throw FormatRuntimeError("unknown line in db: %s", line);
}