Skip to content
This repository was archived by the owner on Jul 13, 2019. It is now read-only.

Commit f2e737b

Browse files
committed
Revert "Allow using literals namespaces"
This reverts commit 73e0f3b.
1 parent f59a765 commit f2e737b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpplint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4893,7 +4893,7 @@ def CheckLanguage(filename, clean_lines, linenum, file_extension,
48934893
'Did you mean "memset(%s, 0, %s)"?'
48944894
% (match.group(1), match.group(2)))
48954895

4896-
if Search(r'\busing namespace\b', line) and not Search(r'\bliterals\b', line):
4896+
if Search(r'\busing namespace\b', line):
48974897
error(filename, linenum, 'build/namespaces', 5,
48984898
'Do not use namespace using-directives. '
48994899
'Use using-declarations instead.')

0 commit comments

Comments
 (0)