mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
CONFIG: incorrect BC code templates (fixes #1885)
- autoPtr to Function requires clone() method, not optional copy/move argument. - fix bad character range for 'sed'
This commit is contained in:
@ -207,7 +207,7 @@ do
|
||||
sed -i \
|
||||
-e '/^template<class Type>$/d' \
|
||||
-e 's/this->//g' \
|
||||
-e 's/\.template[\t ]*\([a-Z]\)/\.\1/g' \
|
||||
-e 's/\.template[\t ]*\([A-Za-z]\)/\.\1/g' \
|
||||
-e '/#ifdef NoRepository/,/\/\/ */d' \
|
||||
${NAME}/${NEWFILE}
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user