remove explicit constructor
No need. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
c64ed25c13
commit
d4f04296e4
@ -50,10 +50,6 @@ Exiv2::ByteOrder stringToByteOrder(const std::string& val) {
|
||||
// *****************************************************************************
|
||||
// class member definitions
|
||||
namespace Exiv2::Internal {
|
||||
TiffVisitor::TiffVisitor() {
|
||||
go_.fill(true);
|
||||
}
|
||||
|
||||
void TiffVisitor::setGo(GoEvent event, bool go) {
|
||||
go_[event] = go;
|
||||
}
|
||||
|
||||
@ -48,14 +48,12 @@ class TiffVisitor {
|
||||
};
|
||||
|
||||
private:
|
||||
static const int events_ = 2; //!< The number of stop/go flags.
|
||||
std::array<bool, events_> go_{}; //!< Array of stop/go flags. See setGo().
|
||||
static const int events_ = 2; //!< The number of stop/go flags.
|
||||
std::array<bool, events_> go_{true, true}; //!< Array of stop/go flags. See setGo().
|
||||
|
||||
public:
|
||||
//! @name Creators
|
||||
//@{
|
||||
//! Default constructor. Initialises all stop/go flags to true.
|
||||
TiffVisitor();
|
||||
//! Virtual destructor
|
||||
virtual ~TiffVisitor() = default;
|
||||
//@}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user