main.c -> main.cpp

This commit is contained in:
Martin Pulec
2014-02-24 13:48:51 +01:00
parent f103ff668b
commit 35a0592221
15 changed files with 99 additions and 22 deletions

View File

@@ -47,7 +47,7 @@ struct stats {
platform_spin_t m_spin;
};
struct stats *stats_new_statistics(struct control_state *control, char * name)
struct stats *stats_new_statistics(struct control_state *control, const char * name)
{
return new stats(string(name), control);
}