wave/samples/cpp_tokens/slex
Nikita Kniazev 0ea2aa7ca2 Fixed usage of auto_ptr on systems where it is deprecated
The macro `BOOST_NO_AUTO_PTR` is defined on systems where both `auto_ptr` and
`unique_ptr` are available (and `auto_ptr` usage produces a deprecation warning).
By using `BOOST_NO_CXX11_SMART_PTR` we will favor `unique_ptr` over `auto_ptr`.

```
slex/lexer.hpp:2423:13: error: 'template<class> class std::auto_ptr' is deprecated [-Werror=deprecated-declarations]
```
2018-10-02 17:59:26 +03:00
..
cpp_slex_lexer.hpp Fixing #1 2017-09-02 10:02:53 -05:00
lexer.hpp Fixed usage of auto_ptr on systems where it is deprecated 2018-10-02 17:59:26 +03:00