Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

Commit

Permalink
src/gdclip: Mark as v0.2 and remove version private field
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemro committed May 18, 2022
1 parent 315d5e5 commit 71b2f2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/gdclip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void GDClip::_init() {
* Returns GDClip library version as String.
*/
String GDClip::get_version() {
return String(version);
return String(LIBGDCLIP_VERSION);
}

/*
Expand Down
5 changes: 1 addition & 4 deletions src/gdclip.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#ifndef GDCLIP_H
#define GDCLIP_H

#define LIBGDCLIP_VERSION "v0.1"
#define LIBGDCLIP_VERSION "v0.2"

#include <Godot.hpp>
#include <Node.hpp>
Expand All @@ -17,9 +17,6 @@ namespace godot {
class GDClip : public Node {
GODOT_CLASS(GDClip, Node)

private:
const char* version = LIBGDCLIP_VERSION;

public:
static void _register_methods();

Expand Down

0 comments on commit 71b2f2b

Please sign in to comment.