From 84a7f3c0846ab49918ffa71e44378da9ffa84ba8 Mon Sep 17 00:00:00 2001 From: SoftFever <103989404+SoftFever@users.noreply.github.com> Date: Thu, 10 Aug 2023 23:30:28 +0800 Subject: [PATCH] fix build errors --- src/slic3r/GUI/OptionsGroup.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/slic3r/GUI/OptionsGroup.hpp b/src/slic3r/GUI/OptionsGroup.hpp index f23f72980..a758f1652 100644 --- a/src/slic3r/GUI/OptionsGroup.hpp +++ b/src/slic3r/GUI/OptionsGroup.hpp @@ -69,8 +69,6 @@ public: wxWindow* extra_widget_win {nullptr}; //BBS: add api to get the first option's key std::string& get_first_option_key() { - if(m_options.empty()) - return std::string(); return m_options[0].opt_id; }