Bladeren bron

automatically replace __1

Former-commit-id: 2c48b9baabb7e18a377c00e593a8ccfc1ec6d0f5
Alec Jacobson 8 jaren geleden
bovenliggende
commit
d8289ab6bf
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      scripts/autoexplicit.sh

+ 1 - 1
scripts/autoexplicit.sh

@@ -34,7 +34,7 @@ while read line; do
   #echo "before = $before"
   after=`sed '1,/^\/\/ Explicit template specialization$/d' $cpp`;
   #echo "after = $after"
-  explicit="template $symbol;"
+  explicit=`echo "template $symbol;" | sed -e "s/std::__1/std::/g"`
   #echo "$explicit"
   if grep -F "$explicit" "$cpp"
   then