code cleanup

This commit is contained in:
Martin Brodbeck 2018-08-15 08:51:39 +02:00
parent dccf260431
commit edbeadc389

View file

@ -20,13 +20,9 @@ const std::string PosPrinter::Command::FONT_SIZE_BIG = {'\x1b', '\x21', '\x10'};
const std::string PosPrinter::Command::FONT_SIZE_NORMAL = {'\x1b', '\x21', '\x00'}; const std::string PosPrinter::Command::FONT_SIZE_NORMAL = {'\x1b', '\x21', '\x00'};
const std::string PosPrinter::Command::FEED = {0x1b, 0x64, 0x03}; const std::string PosPrinter::Command::FEED = {0x1b, 0x64, 0x03};
PosPrinter::PosPrinter() : PosPrinter(PrinterDevice()) PosPrinter::PosPrinter() : PosPrinter(PrinterDevice()) {}
{
} PosPrinter::PosPrinter(const PrinterDevice& printerDevice) : printerDevice_(printerDevice)
PosPrinter::PosPrinter(const PrinterDevice& printerDevice)
: printerDevice_(printerDevice)
{ {
int retValue; int retValue;