diff options
author | jgravelle-google <jgravelle@google.com> | 2017-02-23 10:22:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-23 10:22:02 -0800 |
commit | 3ddf9405cf887c1e0e0034b364c453e7c31acf4c (patch) | |
tree | 1ec77b7058bbc960aadf5e0e8fad39676ea9b930 /src/ast/count.h | |
parent | 7e133b55c7babaabb83fc0f665b4a60022d4b8fb (diff) | |
download | binaryen-3ddf9405cf887c1e0e0034b364c453e7c31acf4c.tar.gz binaryen-3ddf9405cf887c1e0e0034b364c453e7c31acf4c.tar.bz2 binaryen-3ddf9405cf887c1e0e0034b364c453e7c31acf4c.zip |
Default Walker subclasses to using Visitor<SubType> (#921)
Most module walkers use PostWalker<T, Visitor<T>>, let that pattern be
expressed as simply PostWalker<T>
Diffstat (limited to 'src/ast/count.h')
-rw-r--r-- | src/ast/count.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/count.h b/src/ast/count.h index 56f281ce6..098df9e27 100644 --- a/src/ast/count.h +++ b/src/ast/count.h @@ -19,7 +19,7 @@ namespace wasm { -struct GetLocalCounter : public PostWalker<GetLocalCounter, Visitor<GetLocalCounter>> { +struct GetLocalCounter : public PostWalker<GetLocalCounter> { std::vector<Index> num; GetLocalCounter() {} |