dirac-institute / kbmod

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

Mark copy and move constructors noexcept #649

Closed jeremykubica closed 5 months ago

jeremykubica commented 5 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.