kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #43089
[PATCH] Drop "const" that breaks Windows-specific code
---
common/gestfich.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/gestfich.cpp b/common/gestfich.cpp
index 2a30f6d12..c548b6a6c 100644
--- a/common/gestfich.cpp
+++ b/common/gestfich.cpp
@@ -62,7 +62,7 @@ wxString EDA_FILE_SELECTOR( const wxString& aTitle,
{
wxString fullfilename;
wxString curr_cwd = wxGetCwd();
- const wxString& defaultname = aFileName;
+ wxString& defaultname = aFileName;
wxString defaultpath = aPath;
wxString dotted_Ext = wxT(".") + aExtension;
Follow ups