diff --git a/src/identiconpp.cpp b/src/identiconpp.cpp index cc071e7..975649d 100644 --- a/src/identiconpp.cpp +++ b/src/identiconpp.cpp @@ -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 &foreground) : _rows(rows) , _columns(columns) diff --git a/src/identiconpp.hpp b/src/identiconpp.hpp index 81ec234..c972cba 100644 --- a/src/identiconpp.hpp +++ b/src/identiconpp.hpp @@ -17,12 +17,10 @@ #include #include #include -#include #include 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 &foreground = { "000000ff" } ); /*!