summaryrefslogtreecommitdiffstats
path: root/client/tests/controller_test/controller_test.cpp
diff options
context:
space:
mode:
authorDan McGee <dpmcgee@gmail.com>2012-02-16 23:30:10 -0600
committerAlon Levy <alevy@redhat.com>2012-02-21 10:20:45 +0200
commitdfbac622bf9cbff7b4bdcabe78299621821ca61e (patch)
treefb866b19f96b462c3683b4526ac37a77188f95de /client/tests/controller_test/controller_test.cpp
parent10d79a35c1f571fe91615dd0ffa0f67a903b69c2 (diff)
downloadspice-dfbac622bf9cbff7b4bdcabe78299621821ca61e.tar.gz
spice-dfbac622bf9cbff7b4bdcabe78299621821ca61e.tar.xz
spice-dfbac622bf9cbff7b4bdcabe78299621821ca61e.zip
Use memcpy call in red_channel_create
Rather than assign the callbacks one-by-one, we can just memcpy the struct into the one we have allocated in our RedChannel object, which is much more efficient, not to mention future-proof when more callbacks are added. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Diffstat (limited to 'client/tests/controller_test/controller_test.cpp')
0 files changed, 0 insertions, 0 deletions