Browse Source

fix warnings by adding forward declarations

pull/2/head
Odilitime 3 years ago
parent
commit
ef56229b85
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/graphics/opengl/Window.cpp

+ 3
- 1
src/graphics/opengl/Window.cpp View File

@@ -8,7 +8,9 @@
#include <iostream>

void updateComponentSize(const std::shared_ptr<Component> &component);
void repositionComponent(const std::shared_ptr<Component> &component);
void repositionComponent(const std::shared_ptr<Component> &component, int windowWidth);
void deleteComponent(std::shared_ptr<Component> &component);
void deleteNode(std::shared_ptr<Node> node);

Window::~Window() {
if (fontProgram) {

Loading…
Cancel
Save