瀏覽代碼

automatically replace __1

Former-commit-id: 2c48b9baabb7e18a377c00e593a8ccfc1ec6d0f5
Alec Jacobson 8 年之前
父節點
當前提交
d8289ab6bf
共有 1 個文件被更改,包括 1 次插入1 次删除
  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