summaryrefslogtreecommitdiff
path: root/subprojects
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2021-09-03 16:27:12 +0300
committerEd Tanous <ed@tanous.net>2021-09-03 22:15:18 +0300
commitbd078c3b730914fb4edc46717d92106d49d6c4b8 (patch)
treebccdc7f3f312bdd2dcf2c91e4d30a749f14a0e3f /subprojects
parenta1978347588642a9677eca4d96d2a89e93d225a0 (diff)
downloadbmcweb-bd078c3b730914fb4edc46717d92106d49d6c4b8.tar.xz
exception: catch by reference
`catch` should always be done by reference to avoid object slicing and excess copy-constructor calls. Preference is for exceptions to also be caught 'const'. (Both of these come from the C++ Core Guidelines) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I7753abbef218a87ceecbd068245c14f413fadabc
Diffstat (limited to 'subprojects')
0 files changed, 0 insertions, 0 deletions