diff --git a/src/lol/gpu/renderer.h b/src/lol/gpu/renderer.h index a281221e..585e5925 100755 --- a/src/lol/gpu/renderer.h +++ b/src/lol/gpu/renderer.h @@ -53,24 +53,6 @@ enum class BlendEquation : uint8_t Max, }; -/* A safe enum to indicate the blend equation. */ -struct BlendEquation -{ - enum Value - { - Add, - Subtract, - ReverseSubtract, - Min, - Max, - } - m_value; - - inline BlendEquation() : m_value(Add) {} - inline BlendEquation(Value v) : m_value(v) {} - inline operator Value() { return m_value; } -}; - /* A safe enum to indicate the blending factors. */ enum class BlendFunc : uint8_t { diff --git a/src/lol/sys/thread.h b/src/lol/sys/thread.h index 294fcf2b..5706850e 100644 --- a/src/lol/sys/thread.h +++ b/src/lol/sys/thread.h @@ -72,8 +72,10 @@ class ThreadJob friend class BaseThreadManager; public: - ThreadJob() { m_type = ThreadJobType::NONE; } - ThreadJob(ThreadJobType type) { m_type = type; } + inline ThreadJob() : m_type(ThreadJobType::NONE) {} + inline ThreadJob(ThreadJobType type) : m_type(type) {} + virtual ~ThreadJob() {} + ThreadJobType GetJobType() { return m_type; } void SetJobType(ThreadJobType type) { m_type = type; } bool operator==(const ThreadJobType& o) { return GetJobType() == o; }