Skip to content

Commit

Permalink
Mark some function inline in the json formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
jbytheway committed May 22, 2019
1 parent a94304a commit a48f773
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/format/getpost.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ THE SOFTWARE.
#include <map>
#include <new>

std::string urlDecode( std::string str )
inline std::string urlDecode( std::string str )
{
std::string temp;
int i;
Expand Down Expand Up @@ -60,7 +60,7 @@ std::string urlDecode( std::string str )
return temp;
}

void initializeGet( std::map <std::string, std::string> &Get )
inline void initializeGet( std::map <std::string, std::string> &Get )
{
std::string tmpkey, tmpvalue;
std::string *tmpstr = &tmpkey;
Expand Down Expand Up @@ -92,7 +92,7 @@ void initializeGet( std::map <std::string, std::string> &Get )
}
}

void initializePost( std::map <std::string, std::string> &Post )
inline void initializePost( std::map <std::string, std::string> &Post )
{
std::string tmpkey, tmpvalue;
std::string *tmpstr = &tmpkey;
Expand Down

0 comments on commit a48f773

Please sign in to comment.