Make several methods static.

This commit is contained in:
Marian Klymov 2018-06-02 19:43:31 +03:00
parent c8bb600d27
commit 48112c8b62
2 changed files with 3 additions and 3 deletions

View File

@ -720,7 +720,7 @@ private:
const InArgs& in, const InArgs& in,
InArgs::const_iterator& itInArg, InArgs::const_iterator& itInArg,
PathArgument::Kind kind); PathArgument::Kind kind);
void invalidPath(const JSONCPP_STRING& path, int location); static void invalidPath(const JSONCPP_STRING& path, int location);
Args args_; Args args_;
}; };

View File

@ -249,7 +249,7 @@ private:
void unindent(); void unindent();
void writeCommentBeforeValue(const Value& root); void writeCommentBeforeValue(const Value& root);
void writeCommentAfterValueOnSameLine(const Value& root); void writeCommentAfterValueOnSameLine(const Value& root);
bool hasCommentForValue(const Value& value); static bool hasCommentForValue(const Value& value);
static JSONCPP_STRING normalizeEOL(const JSONCPP_STRING& text); static JSONCPP_STRING normalizeEOL(const JSONCPP_STRING& text);
typedef std::vector<JSONCPP_STRING> ChildValues; typedef std::vector<JSONCPP_STRING> ChildValues;
@ -323,7 +323,7 @@ private:
void unindent(); void unindent();
void writeCommentBeforeValue(const Value& root); void writeCommentBeforeValue(const Value& root);
void writeCommentAfterValueOnSameLine(const Value& root); void writeCommentAfterValueOnSameLine(const Value& root);
bool hasCommentForValue(const Value& value); static bool hasCommentForValue(const Value& value);
static JSONCPP_STRING normalizeEOL(const JSONCPP_STRING& text); static JSONCPP_STRING normalizeEOL(const JSONCPP_STRING& text);
typedef std::vector<JSONCPP_STRING> ChildValues; typedef std::vector<JSONCPP_STRING> ChildValues;