kopia lustrzana https://gitlab.com/sane-project/backends
Merge branch 'ps-devel-fix-gcc-4-8-compile-001' into 'master'
genesys: fix gcc-4.8 compile See merge request sane-project/backends!609pixma-add-canon-ts-3400-series
commit
dc32df1001
|
@ -712,7 +712,7 @@ ImagePipelineNodeCalibrate::ImagePipelineNodeCalibrate(ImagePipelineNode& source
|
||||||
const std::vector<std::uint16_t>& bottom,
|
const std::vector<std::uint16_t>& bottom,
|
||||||
const std::vector<std::uint16_t>& top,
|
const std::vector<std::uint16_t>& top,
|
||||||
std::size_t x_start) :
|
std::size_t x_start) :
|
||||||
source_{source}
|
source_(source)
|
||||||
{
|
{
|
||||||
std::size_t size = 0;
|
std::size_t size = 0;
|
||||||
if (bottom.size() >= x_start && top.size() >= x_start) {
|
if (bottom.size() >= x_start && top.size() >= x_start) {
|
||||||
|
|
|
@ -226,7 +226,7 @@ class BasicStreamStateSaver
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit BasicStreamStateSaver(std::basic_ios<Char, Traits>& stream) :
|
explicit BasicStreamStateSaver(std::basic_ios<Char, Traits>& stream) :
|
||||||
stream_{stream}
|
stream_(stream)
|
||||||
{
|
{
|
||||||
flags_ = stream_.flags();
|
flags_ = stream_.flags();
|
||||||
width_ = stream_.width();
|
width_ = stream_.width();
|
||||||
|
|
Ładowanie…
Reference in New Issue