Skip to content

Commit

Permalink
Fix compilation in Debian 10
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Oct 2, 2022
1 parent 6ad290d commit 50f393d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/iselectable.h
@@ -1,6 +1,7 @@
#pragma once

#include <memory>
#include "inode.h"

/**
* greebo: A Selectable is everything that can be highlighted
Expand All @@ -9,7 +10,6 @@
class ISelectable
{
public:
// destructor
virtual ~ISelectable() {}

// Set the selection status of this object
Expand All @@ -28,7 +28,7 @@ namespace scene

inline void Node_setSelected(const scene::INodePtr& node, bool selected)
{
ISelectablePtr selectable = scene::node_cast<ISelectable>(node);
auto selectable = scene::node_cast<ISelectable>(node);

if (selectable)
{
Expand All @@ -38,7 +38,7 @@ inline void Node_setSelected(const scene::INodePtr& node, bool selected)

inline bool Node_isSelected(const scene::INodePtr& node)
{
ISelectablePtr selectable = scene::node_cast<ISelectable>(node);
auto selectable = scene::node_cast<ISelectable>(node);

if (selectable)
{
Expand Down

0 comments on commit 50f393d

Please sign in to comment.