Commit ef8265a5 authored by William Woodall's avatar William Woodall
Browse files

A small change to quiet warnings in linux

parent 7714615a
......@@ -60,10 +60,9 @@ private:
Serial::Serial (const string &port, uint32_t baudrate, Timeout timeout,
bytesize_t bytesize, parity_t parity, stopbits_t stopbits,
flowcontrol_t flowcontrol)
: read_cache_("")
: read_cache_(""), pimpl_(new SerialImpl (port, baudrate, bytesize, parity,
stopbits, flowcontrol))
{
pimpl_ = new SerialImpl (port, baudrate, bytesize, parity,
stopbits, flowcontrol);
pimpl_->setTimeout(timeout);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment