Skip to content

Commit

Permalink
Remove char* methods
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasssvaz committed Jan 18, 2024
1 parent 4ff8c52 commit 509df6d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cores/esp32/HashBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,12 @@ class HashBuilder : public HEXBuilder
{
add((const uint8_t*)data, strlen(data));
}
virtual void add(char* data)
{
add((const char*)data);
}
virtual void add(String data)
{
add(data.c_str());
}

virtual void addHexString(const char* data) = 0;
virtual void addHexString(char* data)
{
addHexString((const char*)data);
}
virtual void addHexString(String data)
{
addHexString(data.c_str());
Expand Down

0 comments on commit 509df6d

Please sign in to comment.