mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-02 22:50:20 +00:00
Include <algorithm> for std::min, std::max
This commit is contained in:
parent
157c936b97
commit
dc9df97466
@ -1,3 +1,8 @@
|
|||||||
|
2013-11-29 Jay Berkenbilt <ejb@ql.org>
|
||||||
|
|
||||||
|
* Add missing #include <algorithm> in some files that use std::min
|
||||||
|
and std::max.
|
||||||
|
|
||||||
2013-11-21 Jay Berkenbilt <ejb@ql.org>
|
2013-11-21 Jay Berkenbilt <ejb@ql.org>
|
||||||
|
|
||||||
* Change image comparison tests, which are disabled by default, to
|
* Change image comparison tests, which are disabled by default, to
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#include <qpdf/BufferInputSource.hh>
|
#include <qpdf/BufferInputSource.hh>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
BufferInputSource::BufferInputSource(std::string const& description,
|
BufferInputSource::BufferInputSource(std::string const& description,
|
||||||
Buffer* buf, bool own_memory) :
|
Buffer* buf, bool own_memory) :
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <qpdf/QUtil.hh>
|
#include <qpdf/QUtil.hh>
|
||||||
#include <qpdf/QPDFExc.hh>
|
#include <qpdf/QPDFExc.hh>
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
FileInputSource::FileInputSource() :
|
FileInputSource::FileInputSource() :
|
||||||
close_file(false),
|
close_file(false),
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
#include <algorithm>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
#include <qpdf/QPDF_Name.hh>
|
#include <qpdf/QPDF_Name.hh>
|
||||||
#include <qpdf/QPDF_String.hh>
|
#include <qpdf/QPDF_String.hh>
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
QPDFWriter::QPDFWriter(QPDF& pdf) :
|
QPDFWriter::QPDFWriter(QPDF& pdf) :
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
#include <qpdf/RC4.hh>
|
#include <qpdf/RC4.hh>
|
||||||
#include <qpdf/MD5.hh>
|
#include <qpdf/MD5.hh>
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
#include <qpdf/QPDFWriter.hh>
|
#include <qpdf/QPDFWriter.hh>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <algorithm>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user