commit | 74385d38902a54b06af10c1bc6fc0d322b0fabb9 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Thu Mar 22 16:00:18 2018 +0100 |
committer | Pierre Ossman <ossman@cendio.se> | Wed Mar 28 12:43:52 2018 +0200 |
tree | 7fd23ea5219dabf6802823990d7ad9eb3a9f0f55 | |
parent | 8c3bd691885bef673faf3599ea663d847a17b78f [diff] [blame] |
Remove redundant Region::copyFrom() We already have an assignment operator, so no need for this method.
diff --git a/common/rfb/EncodeManager.cxx b/common/rfb/EncodeManager.cxx index 4f6ad5a..0ceec8f 100644 --- a/common/rfb/EncodeManager.cxx +++ b/common/rfb/EncodeManager.cxx
@@ -255,7 +255,7 @@ prepareEncoders(); - changed.copyFrom(ui.changed); + changed = ui.changed; /* * We need to render the cursor seperately as it has its own