diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-10-18 21:43:59 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-11-26 07:04:24 +0000 |
commit | b98c43ea602b336813fa967e610da2be100f748d (patch) | |
tree | fd3e78ee38a1f60b49b021e31aab7401bd90b017 /src/tools/qlalr/lalr.h | |
parent | c2bf0cac957b1e7866538201433f3cd38313ab7f (diff) |
Compile with QT_STRICT_ITERATORS defined
This will be the only options for Qt 6, so make sure the code compiles now.
Change-Id: I23f791d1efcbd0bd33805bb4563d40460954db43
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/tools/qlalr/lalr.h')
-rw-r--r-- | src/tools/qlalr/lalr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/qlalr/lalr.h b/src/tools/qlalr/lalr.h index 6a2baaa462..8eadee400d 100644 --- a/src/tools/qlalr/lalr.h +++ b/src/tools/qlalr/lalr.h @@ -61,6 +61,8 @@ public: public: const_iterator () {} + const_iterator (const typename _Base::iterator &it): + _M_iterator (typename _Base::const_iterator(it)) {} const_iterator (const typename _Base::const_iterator &it): _M_iterator (it) {} |