Removed leftover bits, made background in initializer a reference.
All checks were successful
the build was successful

This commit is contained in:
tastytea 2018-12-26 05:20:41 +01:00
parent 4201830e43
commit 9367ce7ce7
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 4 deletions

View File

@ -24,7 +24,7 @@
Identiconpp::Identiconpp(const uint8_t rows, const uint8_t columns,
identicon_type type,
const string background,
const string &background,
const vector<string> &foreground)
: _rows(rows)
, _columns(columns)

View File

@ -17,12 +17,10 @@
#include <cstdint>
#include <string>
#include <vector>
#include <tuple>
#include <Magick++/Image.h>
using std::uint8_t;
using std::uint16_t;
using std::uint32_t;
using std::string;
using std::vector;
@ -62,7 +60,7 @@ public:
*/
explicit Identiconpp(const uint8_t rows, const uint8_t columns,
identicon_type type = identicon_type::simple,
const string background = "ffffffff",
const string &background = "ffffffff",
const vector<string> &foreground = { "000000ff" } );
/*!