msvc fixes

This commit is contained in:
2025-11-11 19:16:07 -05:00
parent 0f5dae7ef8
commit 3f666ab18a
10 changed files with 56 additions and 56 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
namespace anm2ed::dialog
{
void callback(void* userData, const char* const* filelist, int filter)
static void callback(void* userData, const char* const* filelist, int filter)
{
auto self = (Dialog*)(userData);
@@ -69,7 +69,7 @@ namespace anm2ed
void Dialog::reset() { *this = Dialog(this->window); }
bool Dialog::is_selected(dialog::Type type) { return this->type == type && !path.empty(); }
bool Dialog::is_selected(dialog::Type type) const { return this->type == type && !path.empty(); }
void Dialog::set_string_to_selected_path(std::string& string, dialog::Type type)
{