mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
Adapted patch provided from Jesper Schmitz Mouridsen PR: 284821 Reported by: Torfinn Ingolfsen Approved by: teodorsigaev@
13 lines
598 B
C++
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();
|