Fix compiler error due to tbb member having more restrictive exception filter

This commit is contained in:
Simon Detheridge 2015-01-14 10:41:17 +00:00
parent 4d977f6e3a
commit 36cb7535c4

View File

@ -18,7 +18,7 @@ namespace EmberCLns
class EMBERCL_API RendererCLBase
{
public:
virtual ~RendererCLBase() { }
virtual ~RendererCLBase() __TBB_NOEXCEPT(false) { }
virtual bool ReadFinal(byte* pixels) = 0;
virtual bool ClearFinal() = 0;
};
@ -83,7 +83,7 @@ using EmberNs::Renderer<T, T>::XformDistributionsSize;
public:
RendererCL(uint platform = 0, uint device = 0, bool shared = false, GLuint outputTexID = 0);
~RendererCL();
~RendererCL() __TBB_NOEXCEPT(false);
//Non-virtual member functions for OpenCL specific tasks.
bool Init(uint platform, uint device, bool shared, GLuint outputTexID);