machines-in-motion / shared_memory

realtime interprocess communication
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Catch exceptions by const reference #29

Closed luator closed 3 years ago

luator commented 3 years ago

Description

Catch exceptions by const reference. This fixes the "catching polymorphic type ‘X’ by value" warnings.

Also some minor formatting changes in unit_tests.cpp due to running clang-format.

How I Tested

Just ran the unit tests.

I fulfilled the following requirements