Yet another compilation fix on OSX.

This commit is contained in:
bubnikv 2018-12-03 15:28:54 +01:00
parent 5d96b02d6d
commit 6828d8ba24
3 changed files with 2 additions and 6 deletions

View file

@ -154,11 +154,8 @@ bool PlaceholderParser::apply_config(const DynamicPrintConfig &rhs)
void PlaceholderParser::apply_only(const DynamicPrintConfig &rhs, const std::vector<std::string> &keys)
{
#ifdef _DEBUG
const ConfigDef *def = rhs.def();
#endif /* _DEBUG */
for (const t_config_option_key &opt_key : keys) {
assert(! placeholder_parser_ignore(def, opt_key));
assert(! placeholder_parser_ignore(rhs.def(), opt_key));
// Store a copy of the config option.
// Convert FloatOrPercent values to floats first.
//FIXME there are some ratio_over chains, which end with empty ratio_with.

View file

@ -10,8 +10,6 @@
#include "GCode/WipeTowerPrusaMM.hpp"
#include <algorithm>
#include <unordered_set>
#include <boost/filesystem.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/log/trivial.hpp>
#include "PrintExport.hpp"

View file

@ -1,5 +1,6 @@
#include "PrintBase.hpp"
#include <boost/filesystem.hpp>
#include <boost/lexical_cast.hpp>
#include "I18N.hpp"