Correct preprocessor conditional termination in case BACKGROUND_GC is not defined...
authorAdam Tornhill <adam@adamtornhill.com>
Thu, 29 Sep 2016 16:50:44 +0000 (18:50 +0200)
committerSean Gillespie <sean.william.g@gmail.com>
Thu, 29 Sep 2016 16:50:44 +0000 (09:50 -0700)
commitf93e169d61aec19ad2c0bd7630d4df4a1b9e4d24
treeddfad3d0c2e2a6dfe718c1b57dbf3d02bebe36a4
parent74967f89e0f43e156cf23cd88840e1f0fc94f997
Correct preprocessor conditional termination in case BACKGROUND_GC is not defined. (#7411)

This patch ensures that the code remains valid even when BACKGROUND_GC is not defined.
Before this patch, the endif that terminates the conditional compilation block
misses the terminating curly brace. That means there will be an extra, erroneous
closing brace the moment BACKGROUND_GC isn't defined.
src/gc/gc.cpp