This fixes a “No previous prototype for function” warning.

mutable-v2
Peter Steinberger 2015-12-29 18:55:48 +01:00
parent a6a661e924
commit e1d5bcc94d
1 changed files with 2 additions and 2 deletions

View File

@ -226,12 +226,12 @@ struct Statics {
Statics() {}
};
const Statics & statics() {
static const Statics & statics() {
static const Statics s {};
return s;
}
const Json & static_null() {
static const Json & static_null() {
// This has to be separate, not in Statics, because Json() accesses statics().null.
static const Json json_null;
return json_null;