Skip to content

Commit

Permalink
Fix missing std::regex declaration
Browse files Browse the repository at this point in the history
/run/build/BambuStudio/src/slic3r/GUI/WebViewDialog.cpp: In member function ‘void Slic3r::GUI::WebViewPanel::SetMakerworldPageLoginStatus(bool, wxString)’:
/run/build/BambuStudio/src/slic3r/GUI/WebViewDialog.cpp:818:10: error: ‘regex’ is not a member of ‘std’; did you mean ‘boost::regex’?
  818 |     std::regex pattern("^https://.*/(.*/){0,1}agree-terms.*");
      |          ^~~~~
  • Loading branch information
hadess authored and lanewei120 committed Sep 6, 2024
1 parent 07fbb1f commit 22885b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/slic3r/GUI/WebViewDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#include "libslic3r_version.h"
#include "../Utils/Http.hpp"

#include <regex>

#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>

Expand Down

0 comments on commit 22885b0

Please sign in to comment.