Compile error: COM_WorkScheduler.cpp: expected primary expression before 'class'

Here it is. Everything compiles fine up till this.

scons: /home/james/blender-git/build/linux/lib/libbf_python.a' is up to date. scons:/home/james/blender-git/build/linux/lib/libbf_imbuf_openimageio.a’ is up to date.
scons: /home/james/blender-git/build/linux/lib/libbf_imbuf_dds.a' is up to date. scons:/home/james/blender-git/build/linux/lib/libbf_imbuf_cineon.a’ is up to date.
scons: `/home/james/blender-git/build/linux/lib/libbf_imbuf_openexr.a’ is up to date.
Compiling ==> ‘COM_WorkScheduler.cpp’
In file included from source/blender/compositor/intern/COM_WorkScheduler.cpp:32:0:
source/blender/compositor/operations/COM_WriteBufferOperation.h:33:1: error: expected primary-expression before ‘class’
class WriteBufferOperation : public NodeOperation {
^
source/blender/compositor/operations/COM_WriteBufferOperation.h:33:1: error: expected ‘}’ before ‘class’
source/blender/compositor/operations/COM_WriteBufferOperation.h:33:1: error: expected ‘,’ or ‘;’ before ‘class’
scons: *** [/home/james/blender-git/build/linux/source/blender/compositor/intern/COM_WorkScheduler.o] Error 1
scons: building terminated because of errors.

I’m at a loss. I used the “install_deps.sh” script to make sure everything was correct. Any ideas?