- added to FunctionBase: bool register_default_models (default true)
if true then winix will add default models for ezc templates such as "request", "item", etc. - some methods from templates/item.cpp moved to Item
This commit is contained in:
@@ -771,7 +771,7 @@ void UrlEncode(char c, StringType & out, bool clear_out = true)
|
||||
static pt::TextStream tmp;
|
||||
|
||||
UrlEncode(c, tmp);
|
||||
tmp.to_string(out, clear_out);
|
||||
tmp.to_str(out, clear_out);
|
||||
}
|
||||
|
||||
|
||||
@@ -882,6 +882,7 @@ void QEncode(const std::wstring & in, pt::TextStreamBase<char_type, stack_size,
|
||||
}
|
||||
|
||||
|
||||
// no thread safe
|
||||
void QEncode(const std::wstring & in, std::string & out, bool clear = true);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user