numenta / nupic.core-legacy

Implementation of core NuPIC algorithms in C++ (under construction)
http://numenta.org
GNU Affero General Public License v3.0
272 stars 276 forks source link

Output: fix for gcc 4.7 / c++11 destructor noexcept(true) #1432

Closed breznak closed 6 years ago

breznak commented 6 years ago

https://stackoverflow.com/questions/42976461/exception-in-destructor-c We locally allow throwing an exception from the ~Output destructor.

Fixes: #1000 #1414 Replaces: #1415

lscheinkman commented 6 years ago

@breznak Could you take a look at https://ci.numenta.com/browse/NUP-NGPR-SC-469/log I think you just need to fix the format. Just run the following command to fix it:

git clang-format upstream/master
breznak commented 6 years ago

Sorry, somehow dupe of #1431

breznak commented 6 years ago

Thanks @lscheinkman , formating done.