Commit e7366fbb authored by Martin Marinov's avatar Martin Marinov

Remove global specifiers for define() in Stream as the build fails on gcc and clang

parent 7beb29a3
......@@ -140,7 +140,7 @@ public:
void method(const char* const _fnct, const ReturnT& _rtrn,
const ObjectT* _obj, const ArgT&... _args)
{
emit_method(_fnct, ::Journal::define(*this, _rtrn), object(_obj),
emit_method(_fnct, define(*this, _rtrn), object(_obj),
arguments(_args...));
}
......@@ -163,7 +163,7 @@ public:
void function(
const char* const _fnct, const ReturnT& _rtrn, const ArgT&... _args)
{
emit_function(_fnct, ::Journal::define(*this, _rtrn), arguments(_args...));
emit_function(_fnct, define(*this, _rtrn), arguments(_args...));
}
//! Retrieve the key for any data
......@@ -218,7 +218,7 @@ private:
template <typename... ArgT>
DataVector arguments(const ArgT&... _args)
{
return { ::Journal::define(*this, _args)... };
return { define(*this, _args)... };
}
void emit_constructor(
......
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