Skip to content

Commit

Permalink
Merge pull request #17 from MuhXd/master
Browse files Browse the repository at this point in the history
i think
  • Loading branch information
OmgRod authored Jan 17, 2025
2 parents 0f8ace7 + 0b9e061 commit ade3f93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"geode": "4.2.0",
"geode": "4.1.1",
"gd": {
"android": "2.2074",
"win": "2.2074",
Expand Down
4 changes: 1 addition & 3 deletions src/layers/Tags.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ class Tags {
}

// Convert a string to a corresponding tag (integer)
int getTagFromString(const std::string& name) {
log::debug("Getting tag from string: {}", name);
int getTagFromString(std::string name) {
auto it = m_tagMap.find(name);
if (it != m_tagMap.end()) {
log::debug("Found tag: {}", it->second);
Expand All @@ -130,7 +129,6 @@ class Tags {

// Convert an integer tag back to the corresponding string
std::string getStringFromTag(int tag) {
log::debug("Getting string from tag: {}", tag);
auto it = m_stringMap.find(tag);
if (it != m_stringMap.end()) {
log::debug("Found string: {}", it->second);
Expand Down

0 comments on commit ade3f93

Please sign in to comment.