Skip to content

Commit

Permalink
remove DEPRECATED notation
Browse files Browse the repository at this point in the history
  • Loading branch information
yslib committed Jul 5, 2024
1 parent fca2d0d commit 5af9d49
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions include/Application/VGGLayer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,8 @@ class sk_sp;
namespace VGG::layer
{

#define DEPRECATED(msg) [[deprecated(msg)]]

class VLayer__pImpl;
class VGG_EXPORTS DEPRECATED(
"VLayer is deprecated. See render.cpp in test/render to learn how to use the rendering facility, "
"which is lower level and provides more flexibility.") VLayer : public GraphicsLayer
class VGG_EXPORTS VLayer : public GraphicsLayer
{
VGG_DECL_IMPL(VLayer);
int m_position[2] = { 0, 0 };
Expand All @@ -58,7 +54,7 @@ class VGG_EXPORTS DEPRECATED(
virtual void shutdown() override;
void resize(int w, int h) override;

DEPRECATED("use setRenderNode") void addRenderItem(std::shared_ptr<Renderable> item);
void addRenderItem(std::shared_ptr<Renderable> item);

void setBackgroundColor(uint32_t color);

Expand Down

0 comments on commit 5af9d49

Please sign in to comment.