]> source.dussan.org Git - tigervnc.git/commit
Make arguments explicit in all message writer methods
authorPierre Ossman <ossman@cendio.se>
Wed, 20 Jun 2018 09:35:05 +0000 (11:35 +0200)
committerPierre Ossman <ossman@cendio.se>
Thu, 1 Nov 2018 15:11:42 +0000 (16:11 +0100)
commit96728356628e90ef80dc111269db1593be87aa16
tree05293401b2ab227be40d07a2e096d8e913d6cdea
parentef6881b9db3765ed07db9e1d414b178daae29606
Make arguments explicit in all message writer methods

Make sure all methods only write what is given as arguments, and
avoid side effects by getting data from parameter objects. This keeps
things readable in the calling code.
common/rfb/CConnection.cxx
common/rfb/CConnection.h
common/rfb/CMsgWriter.cxx
common/rfb/CMsgWriter.h
common/rfb/SConnection.cxx
common/rfb/SMsgWriter.cxx
common/rfb/SMsgWriter.h