layers: return collect_* result containers rather than using & out
authorChris Forbes <chrisforbes@google.com>
Tue, 23 Aug 2016 01:04:34 +0000 (13:04 +1200)
committerChris Forbes <chrisforbes@google.com>
Thu, 25 Aug 2016 21:20:58 +0000 (09:20 +1200)
commit3a1adf43eb19fc8e32b5cf64eab56d120d6e00e8
treecdd4b59bb5d168ef902ab978df9b429b5c3c5ea0
parent930cd2e549552276db828b6b296601f8c074a21d
layers: return collect_* result containers rather than using & out

This is clearer at the call site, should be no slower in C++11+, and
complies with the style guide.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
layers/core_validation.cpp