diff options
| author | Andrei Golubev <andrei.golubev@qt.io> | 2020-10-13 16:50:11 +0200 |
|---|---|---|
| committer | Andrei Golubev <andrei.golubev@qt.io> | 2020-10-13 17:00:23 +0200 |
| commit | 1ae15edd7e7ec4bd96d3a9a4d6b5793c7f7e8830 (patch) | |
| tree | 0ac795a9da8e49c93f832e14490dab6eded7596c /examples/opengl/hellogl2/main.cpp | |
| parent | 705837771cf08177b10206c0a53752611804a4b0 (diff) | |
Remove nodiscard in QPropertyObserverNodeProtector ctor
Produced error in my GCC 7.5 on Ubuntu 18:
error: ‘nodiscard’ attribute applied to ‘QPropertyObserverNodeProtector<<anonymous> >::QPropertyObserverNodeProtector(QPropertyObserver*&)’ with void return type [-Werror=attributes]
Q_REQUIRED_RESULT QPropertyObserverNodeProtector(QPropertyObserver *&observer)
Change-Id: Ic1f6c4f502bb4d5c764686d5521b92f655592bb2
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/opengl/hellogl2/main.cpp')
0 files changed, 0 insertions, 0 deletions
