diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2021-09-03 16:27:12 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2021-09-03 22:15:18 +0300 |
commit | bd078c3b730914fb4edc46717d92106d49d6c4b8 (patch) | |
tree | bccdc7f3f312bdd2dcf2c91e4d30a749f14a0e3f /.gitignore | |
parent | a1978347588642a9677eca4d96d2a89e93d225a0 (diff) | |
download | bmcweb-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 '.gitignore')
0 files changed, 0 insertions, 0 deletions