]> git.sesse.net Git - nageru/commit
In Theme::get_chain(), send InputState by reference instead of value.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 21 Dec 2018 23:08:10 +0000 (00:08 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 21 Dec 2018 23:08:10 +0000 (00:08 +0100)
commitaa6cef228bda3977763472d6bbc03b5a0302c866
tree23834af549ddcfcca5cadfe2dbaa22cb042296ae
parenteea413eca702128135b2e6cc72ab6da5e175b633
In Theme::get_chain(), send InputState by reference instead of value.

It's ~2 kB, and we also don't have to fiddle as many refcounts around.
It's only once per channel per frame, though.

Found by Coverity Scan.
nageru/theme.cpp
nageru/theme.h