Simplify code.

llvm-svn: 174807
This commit is contained in:
Jakub Staszak 2013-02-09 13:29:31 +00:00
parent eb31170ee2
commit 5ad2bc2adc

View File

@ -207,8 +207,7 @@ public:
/// emitString - This callback is invoked when a String needs to be
/// written to the output stream.
void emitString(const std::string &String) {
for (unsigned i = 0, N = static_cast<unsigned>(String.size());
i < N; ++i) {
for (size_t i = 0, N = String.size(); i < N; ++i) {
uint8_t C = String[i];
emitByte(C);
}