Skip to content

Commit

Permalink
Actually use template default
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi committed Sep 10, 2023
1 parent 99c0580 commit 57fcc91
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/editor/object_option.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class IntObjectOption : public ObjectOption<int>
IntObjectOption& operator=(const IntObjectOption&) = delete;
};

class LabelObjectOption : public ObjectOption<void>
class LabelObjectOption : public ObjectOption<>
{
public:
LabelObjectOption(const std::string& text,
Expand Down Expand Up @@ -428,7 +428,7 @@ class PathHandleOption : public ObjectOption<PathWalker::Handle>
PathHandleOption& operator=(const PathHandleOption&) = delete;
};

class RemoveObjectOption : public ObjectOption<void>
class RemoveObjectOption : public ObjectOption<>
{
public:
RemoveObjectOption();
Expand All @@ -442,7 +442,7 @@ class RemoveObjectOption : public ObjectOption<void>
RemoveObjectOption& operator=(const RemoveObjectOption&) = delete;
};

class TestFromHereOption : public ObjectOption<void>
class TestFromHereOption : public ObjectOption<>
{
public:
TestFromHereOption();
Expand All @@ -456,7 +456,7 @@ class TestFromHereOption : public ObjectOption<void>
TestFromHereOption& operator=(const TestFromHereOption&) = delete;
};

class ParticleEditorOption : public ObjectOption<void>
class ParticleEditorOption : public ObjectOption<>
{
public:
ParticleEditorOption();
Expand All @@ -470,7 +470,7 @@ class ParticleEditorOption : public ObjectOption<void>
ParticleEditorOption& operator=(const ParticleEditorOption&) = delete;
};

class ButtonOption : public ObjectOption<void>
class ButtonOption : public ObjectOption<>
{
public:
ButtonOption(const std::string& text, std::function<void()> callback);
Expand All @@ -487,7 +487,7 @@ class ButtonOption : public ObjectOption<void>
ButtonOption& operator=(const ButtonOption&) = delete;
};

class StringArrayOption : public ObjectOption<void>
class StringArrayOption : public ObjectOption<>
{
public:
StringArrayOption(const std::string& text, const std::string& key, std::vector<std::string>& items);
Expand Down

0 comments on commit 57fcc91

Please sign in to comment.