mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-24 17:21:11 -06:00
Merge remote-tracking branch 'origin/master' into ys_new_features
This commit is contained in:
commit
819a4506fa
11 changed files with 222 additions and 13 deletions
|
|
@ -384,7 +384,13 @@ void Serial::reset_line_num()
|
|||
|
||||
bool Serial::read_line(unsigned timeout, std::string &line, error_code &ec)
|
||||
{
|
||||
auto &io_service = get_io_service();
|
||||
auto& io_service =
|
||||
#if BOOST_VERSION >= 107000
|
||||
//FIXME this is most certainly wrong!
|
||||
(boost::asio::io_context&)this->get_executor().context();
|
||||
#else
|
||||
this->get_io_service();
|
||||
#endif
|
||||
asio::deadline_timer timer(io_service);
|
||||
char c = 0;
|
||||
bool fail = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue