Commit bc5f9a23 authored by Mihai Moldovan's avatar Mihai Moldovan

nxcomp/src/Log.h: take a reference-type in generic has_newline() function.

Should avoid copy-constructing objects again.
parent 8036f691
......@@ -501,7 +501,7 @@ NXLog& operator<< (NXLog& out, const NXLogStamp& value);
template <typename T>
bool has_newline(T value)
bool has_newline(T &value)
{
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment