diff --git a/panda/src/awesomium/awWebCore.cxx b/panda/src/awesomium/awWebCore.cxx index 0e35112094..4a81a0b5e6 100644 --- a/panda/src/awesomium/awWebCore.cxx +++ b/panda/src/awesomium/awWebCore.cxx @@ -19,8 +19,12 @@ TypeHandle AwWebCore::_type_handle; AwWebCore:: -AwWebCore(AwWebCore::LogLevel level, bool enablePlugins , AwWebCore::PixelFormat pixelFormat) : - WebCore(static_cast(level), enablePlugins, static_cast(pixelFormat)) { +AwWebCore(AwWebCore::LogLevel level, bool enablePlugins , AwWebCore::PixelFormat pixelFormat) +#ifndef CPPPARSER +: + WebCore(static_cast(level), enablePlugins, static_cast(pixelFormat)) +#endif + { awesomium_cat.info() << "constructing webcore\n"; }