@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
class Timber {
|
class Timber {
|
||||||
public:
|
public:
|
||||||
static void tag(char* tag);
|
static void tag(const char* tag);
|
||||||
static void plant(Tree tree);
|
static void plant(Tree tree);
|
||||||
static void d(char* message);
|
static void d(char* message);
|
||||||
static void i(char* message);
|
static void i(char* message);
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#include "timber.h"
|
#include "timber.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
void Timber::tag(char* tag) {
|
void Timber::tag(const char* tag) {
|
||||||
printf("Tag: %s\n", tag);
|
printf("Tag: %s\n", tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user