mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
sipdiff also remove nullptr
This commit is contained in:
parent
02c2886585
commit
835ffb0fb2
@ -35,6 +35,9 @@ for file in $*; do
|
||||
# Remove function definition in header
|
||||
${GP}sed -i -r 's/^(\s*)?(inline )?(void|bool|int|double|Q\w+)(\s+[^ ]*?\(.*?\)( const)?)\s*\{.*?\}$/\1\3\4;/g' $tempfile
|
||||
|
||||
# Remove nullptr
|
||||
${GP}sed -i 's/nullptr/0/g' $tempfile
|
||||
|
||||
vimdiff $tempfile python/$d/$f.sip
|
||||
|
||||
rm $tempfile
|
||||
|
Loading…
x
Reference in New Issue
Block a user