]> https://gitweb.dealii.org/ - dealii-svn.git/commit
Have both subscribe and unsubscribe in the .cc file. This resolves an issue recently...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 17 Dec 2013 13:27:26 +0000 (13:27 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 17 Dec 2013 13:27:26 +0000 (13:27 +0000)
commit5b3da9200047f74731fde78ab0d9d3772d18ced1
tree832a26a1cc1e233464aebcfb5e78786b66f385a2
parent5eecd57a2719bacae81a05295b12fbedef8c35c3
Have both subscribe and unsubscribe in the .cc file. This resolves an issue recently reported on the mailing list of strange crashes where someone links with the debug library but forgets to set -DDEBUG, which leads to a mismatch between what is compiled into their application (coming from the header file) and what they link with (coming from the library) and that leads to a completely unhelpful error message. The resulting code will be slower, but subscribing and unsubscribing is fortunately not something we do all the time.

git-svn-id: https://svn.dealii.org/trunk@32039 0785d39b-7218-0410-832d-ea1e28bc413d
deal.II/include/deal.II/base/subscriptor.h
deal.II/source/base/subscriptor.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.