Removed leftover bits, made background in initializer a reference.
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
4201830e43
commit
9367ce7ce7
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
Identiconpp::Identiconpp(const uint8_t rows, const uint8_t columns,
|
Identiconpp::Identiconpp(const uint8_t rows, const uint8_t columns,
|
||||||
identicon_type type,
|
identicon_type type,
|
||||||
const string background,
|
const string &background,
|
||||||
const vector<string> &foreground)
|
const vector<string> &foreground)
|
||||||
: _rows(rows)
|
: _rows(rows)
|
||||||
, _columns(columns)
|
, _columns(columns)
|
||||||
|
|
|
@ -17,12 +17,10 @@
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <tuple>
|
|
||||||
#include <Magick++/Image.h>
|
#include <Magick++/Image.h>
|
||||||
|
|
||||||
using std::uint8_t;
|
using std::uint8_t;
|
||||||
using std::uint16_t;
|
using std::uint16_t;
|
||||||
using std::uint32_t;
|
|
||||||
using std::string;
|
using std::string;
|
||||||
using std::vector;
|
using std::vector;
|
||||||
|
|
||||||
|
@ -62,7 +60,7 @@ public:
|
||||||
*/
|
*/
|
||||||
explicit Identiconpp(const uint8_t rows, const uint8_t columns,
|
explicit Identiconpp(const uint8_t rows, const uint8_t columns,
|
||||||
identicon_type type = identicon_type::simple,
|
identicon_type type = identicon_type::simple,
|
||||||
const string background = "ffffffff",
|
const string &background = "ffffffff",
|
||||||
const vector<string> &foreground = { "000000ff" } );
|
const vector<string> &foreground = { "000000ff" } );
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
Loading…
Reference in New Issue