Fix destructor exception-permissiveness errors in a less idiotic way

This commit is contained in:
Simon Detheridge
2015-01-14 13:10:25 +00:00
parent 940c51f16a
commit fbdd160061
4 changed files with 6 additions and 5 deletions

View File

@ -18,7 +18,7 @@ namespace EmberCLns
class EMBERCL_API RendererCLBase
{
public:
virtual ~RendererCLBase() __TBB_NOEXCEPT(false) { }
virtual ~RendererCLBase() { }
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() __TBB_NOEXCEPT(false);
~RendererCL();
//Non-virtual member functions for OpenCL specific tasks.
bool Init(uint platform, uint device, bool shared, GLuint outputTexID);