mirror of
https://github.com/matrix-construct/construct
synced 2025-02-27 06:00:16 +01:00
ircd::js: Import operator<< from ircd:: to optimize implicit conversions.
This commit is contained in:
parent
6156d8eb92
commit
ea4d74de2b
1 changed files with 3 additions and 0 deletions
|
@ -56,6 +56,9 @@ namespace js { struct InterpreterFrame; }
|
||||||
namespace ircd {
|
namespace ircd {
|
||||||
namespace js {
|
namespace js {
|
||||||
|
|
||||||
|
// The ostream operator is explicitly brought from ircd:: to compete for efficient overloading,
|
||||||
|
// and prevent any unnecessary implicit conversions here.
|
||||||
|
using ircd::operator<<;
|
||||||
|
|
||||||
} // namespace js
|
} // namespace js
|
||||||
} // namespace ircd
|
} // namespace ircd
|
||||||
|
|
Loading…
Add table
Reference in a new issue