From b9316ad4ec96d79b1a11b6658eda4336c634864a Mon Sep 17 00:00:00 2001 From: speedie Date: Wed, 16 Aug 2023 08:02:27 +0200 Subject: [PATCH] Change function name --- mcopy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mcopy.cpp b/mcopy.cpp index e46584e..0f0c865 100644 --- a/mcopy.cpp +++ b/mcopy.cpp @@ -38,7 +38,7 @@ void help() { "@n Track number\n"; } -TagLib::FileRef get_file(std::string str) { +TagLib::FileRef getFile(std::string str) { const char *cstr = str.c_str(); TagLib::FileName fn(cstr); TagLib::FileRef file(fn); @@ -47,7 +47,7 @@ TagLib::FileRef get_file(std::string str) { } void getMetadataFromFile(std::string format, std::string str) { - TagLib::FileRef file = get_file(str); + TagLib::FileRef file = getFile(str); TagLib::Tag *tag = file.tag(); if (file.isNull() || !file.audioProperties()) {