move global into function that uses it

This commit is contained in:
Andrew Meadows 2015-06-23 14:18:17 -07:00
parent cf74dbe1dc
commit b6d5adaef8

View file

@ -15,9 +15,9 @@
#include "StreamUtils.h"
const char* hex_digits = "0123456789abcdef";
void StreamUtil::dump(std::ostream& s, const QByteArray& buffer) {
const char* hex_digits = "0123456789abcdef";
int row_size = 32;
int i = 0;
while (i < buffer.size()) {