Skip to content

Commit 2de483e

Browse files
committed
Update implicit_using_namespaces.hpp
1 parent b437c6c commit 2de483e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/xtd.core/include/xtd/implicit_using_namespaces.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
/// @cond
88
#if defined(__XTD_ENABLE_IMPLICIT_USING_NAMESPACES__)
9-
#define __using_namespace__(name_space) namespace name_space {} using namespace name_space
9+
#define __using_namespace__(name_space) \
10+
namespace name_space {} \
11+
using namespace name_space
1012

1113
#if __XTD_CURRENT_TARGET_ID__ == __CMAKE_TARGET_ID_TEST_APPLICATION__ || __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_CONSOLE_APPLICATION__ || __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_GUI_APPLICATION__ || __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_UNKNOWN__
1214
__using_namespace__(xtd);

0 commit comments

Comments
 (0)