ports/cad/PrusaSlicer/files/patch-src_slic3r_Utils_Serial.hpp
Michael Reifenberger ae9787cdfb cad/PrusaSlicer: update to 2.9.0
Adapted patch provided from Jesper Schmitz Mouridsen

PR:		284821
Reported by:	Torfinn Ingolfsen
Approved by:	teodorsigaev@
2025-03-09 15:37:10 +01:00

13 lines
598 B
C++

--- src/slic3r/Utils/Serial.hpp.orig 2025-02-14 23:32:07 UTC
+++ src/slic3r/Utils/Serial.hpp
@@ -43,8 +43,8 @@ class Serial : public boost::asio::serial_port (public
class Serial : public boost::asio::serial_port
{
public:
- Serial(boost::asio::io_service &io_service);
- Serial(boost::asio::io_service &io_service, const std::string &name, unsigned baud_rate);
+ Serial(boost::asio::io_context &io_service);
+ Serial(boost::asio::io_context &io_service, const std::string &name, unsigned baud_rate);
Serial(const Serial &) = delete;
Serial &operator=(const Serial &) = delete;
~Serial();