Remove nano::async_write code inspection
This commit is contained in:
parent
6108e4a917
commit
597f94670b
1 changed files with 0 additions and 6 deletions
|
|
@ -10,12 +10,6 @@ code_inspect()
|
|||
return 1
|
||||
fi
|
||||
|
||||
# This is to prevent out of scope access in async_write from asio which is not picked up by static analysers
|
||||
if [[ $(grep -rl --exclude="*asio.hpp" "asio::async_write" $SOURCE_ROOT_PATH/nano) ]]; then
|
||||
echo "Using boost::asio::async_write directly is not permitted (except in nano/lib/asio.hpp). Use nano::async_write instead" >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [[ $(grep -rlP "^\s*assert \(" $SOURCE_ROOT_PATH/nano) ]]; then
|
||||
echo "Using assert is not permitted. Use debug_assert instead." >&2
|
||||
return 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue