mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Fix of compilation on OSX and Linux. By the standard, a temporary
value cannot be passed to a reference.
This commit is contained in:
parent
b292554fd8
commit
9d98a27b98
2 changed files with 7 additions and 9 deletions
|
@ -84,7 +84,7 @@ public:
|
|||
return end;
|
||||
}
|
||||
template<typename Callback>
|
||||
void parse_line(const std::string &line, Callback &callback)
|
||||
void parse_line(const std::string &line, Callback callback)
|
||||
{ GCodeLine gline; this->parse_line(line.c_str(), gline, callback); }
|
||||
void parse_file(const std::string &file, callback_t callback);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue