From 7be97d319c8ee0cf0d086826188cbbfd406db8d2 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Tue, 28 Mar 2017 17:38:31 +0200 Subject: [PATCH] Cleanup --- xs/src/libslic3r/Config.cpp | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/xs/src/libslic3r/Config.cpp b/xs/src/libslic3r/Config.cpp index 68f7f7e2d..68d4837c1 100644 --- a/xs/src/libslic3r/Config.cpp +++ b/xs/src/libslic3r/Config.cpp @@ -388,25 +388,6 @@ ConfigBase::option(const t_config_option_key &opt_key, bool create) { return this->optptr(opt_key, create); } -/* -template -T* -ConfigBase::opt(const t_config_option_key &opt_key, bool create) { - return dynamic_cast(this->option(opt_key, create)); -} -template ConfigOptionInt* ConfigBase::opt(const t_config_option_key &opt_key, bool create); -template ConfigOptionBool* ConfigBase::opt(const t_config_option_key &opt_key, bool create); -template ConfigOptionBools* ConfigBase::opt(const t_config_option_key &opt_key, bool create); -template ConfigOptionPercent* ConfigBase::opt(const t_config_option_key &opt_key, bool create); - - -template -const T* -ConfigBase::opt(const t_config_option_key &opt_key) const { - return dynamic_cast(this->option(opt_key)); -} -*/ - void ConfigBase::load(const std::string &file) {