RIP tp::Strings

This commit is contained in:
IlyaShurupov 2024-03-22 14:44:26 +03:00
parent aa53a4addb
commit 893a07e924
90 changed files with 419 additions and 1475 deletions

View file

@ -15,10 +15,10 @@ class Context {
public:
Context() = default;
bool preloadInfo(const tp::String& path, MusicStream* owner) {
bool preloadInfo(const std::string& path, MusicStream* owner) {
mOwner = owner;
pFlac = drflac_open_file((path + ".flac").read(), NULL);
pFlac = drflac_open_file((path + ".flac").c_str(), NULL);
if (pFlac == NULL) {
return false;