dirac-institute / kbmod

KBMOD (Kernel-Based Moving Object Detection)
BSD 2-Clause "Simplified" License
45 stars 14 forks source link

Mark copy and move constructors noexcept #649

Closed jeremykubica closed 3 months ago

jeremykubica commented 3 months ago

In order for C++ to use the move constructor for vector resizing it needs to be marked noexcept. Otherwise the vector resizing will cause a copy of the current elements.