Browse Source

automatically replace __1

Former-commit-id: 2c48b9baabb7e18a377c00e593a8ccfc1ec6d0f5
Alec Jacobson 8 years ago
parent
commit
d8289ab6bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/autoexplicit.sh

+ 1 - 1
scripts/autoexplicit.sh

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