Skip to content

Commit

Permalink
Merge pull request #25 from rozukke/fix/ctor-issue
Browse files Browse the repository at this point in the history
Fix ctor issue
  • Loading branch information
rozukke authored Jun 9, 2024
2 parents cadb986 + 145479e commit 7e8c30a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/mcpp/block.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ class BlockType {
int id;
int mod;

BlockType() = default;
constexpr BlockType(int id, int modifier = 0) : id(id), mod(modifier){};
constexpr BlockType(int id = 0, int modifier = 0) : id(id), mod(modifier){};

/**
* Watch out as this also compares the BlockType.mod element of the block,
Expand Down

0 comments on commit 7e8c30a

Please sign in to comment.