remove build warning

Signed-off-by: Peter Siegmund <peter@rdkr.com>
This commit is contained in:
Peter Siegmund
2024-05-18 23:18:39 +02:00
parent 290a4d2722
commit 41f8ec4f44
2 changed files with 3 additions and 3 deletions

View File

@@ -5,11 +5,11 @@
class Timber {
public:
static void tag(char* tag);
static void tag(const char* tag);
static void plant(Tree tree);
static void d(char* message);
static void i(char* message);
static void w(char* message);
static void e(char* message);
static void v(char* message);
};
};

View File

@@ -1,7 +1,7 @@
#include "timber.h"
#include <stdio.h>
void Timber::tag(char* tag) {
void Timber::tag(const char* tag) {
printf("Tag: %s\n", tag);
}