From ea4d74de2bd7cafc9cbfa3ed3e5e3cac24175b13 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 27 Nov 2016 19:05:40 -0800 Subject: [PATCH] ircd::js: Import operator<< from ircd:: to optimize implicit conversions. --- include/ircd/js/js.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/ircd/js/js.h b/include/ircd/js/js.h index 5b2821592..326e4d39f 100644 --- a/include/ircd/js/js.h +++ b/include/ircd/js/js.h @@ -56,6 +56,9 @@ namespace js { struct InterpreterFrame; } namespace ircd { 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 ircd