Merge pull request #47 from PSPDFKit-labs/fix-warnings
This fixes a “No previous prototype for function” warning.mutable-v2
commit
afcc8d0d82
|
@ -226,12 +226,12 @@ struct Statics {
|
||||||
Statics() {}
|
Statics() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
const Statics & statics() {
|
static const Statics & statics() {
|
||||||
static const Statics s {};
|
static const Statics s {};
|
||||||
return 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.
|
// This has to be separate, not in Statics, because Json() accesses statics().null.
|
||||||
static const Json json_null;
|
static const Json json_null;
|
||||||
return json_null;
|
return json_null;
|
||||||
|
|
Loading…
Reference in New Issue