mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-09-29 15:31:08 -04:00
Fix #2125749 [calibre-8.11.0/src/calibre/srv/fast_css_transform.cpp:746: little performance problem ?](https://bugs.launchpad.net/calibre/+bug/2125749)
This commit is contained in:
parent
6676320fe3
commit
a5fbde7f25
@ -743,7 +743,7 @@ class TokenQueue {
|
||||
if (changed && queue.size()) {
|
||||
const size_t pos = queue[0].get_output_position();
|
||||
out.resize(pos ? pos - 1: 0);
|
||||
for (auto tok : queue) tok.serialize(out);
|
||||
for (auto & tok : queue) tok.serialize(out);
|
||||
}
|
||||
return_tokens_to_pool();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user