diff options
author | Lioncash <[email protected]> | 2018-12-02 14:06:39 -0500 |
---|---|---|
committer | Lioncash <[email protected]> | 2018-12-02 14:18:26 -0500 |
commit | f3253d0f1432eb290f2753c187121f874b106a8e (patch) | |
tree | 3dea580db0aef3d32e6cf8581c55066f52d69531 /src/yuzu/configuration/configure_input.h | |
parent | 7ce17b2cf6957bec3c692e2580ed93f85892a06e (diff) | |
download | yuzu-android-f3253d0f1432eb290f2753c187121f874b106a8e.tar.gz yuzu-android-f3253d0f1432eb290f2753c187121f874b106a8e.zip |
yuzu/configuration/configure_input: Default destructor in the cpp file
The previous code could potentially be a compilation issue waiting to
occur, given we forward declare the type for a std::unique_ptr. If the
complete definition of the forward declared type isn't visible in a
translation unit that the class is used in, then it would fail to
compile.
Defaulting the destructor in a cpp file ensures the std::unique_ptr's
destructor is only invoked where its complete type is known.
Diffstat (limited to 'src/yuzu/configuration/configure_input.h')
-rw-r--r-- | src/yuzu/configuration/configure_input.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configure_input.h b/src/yuzu/configuration/configure_input.h index e8723dfcb..1649e4c0b 100644 --- a/src/yuzu/configuration/configure_input.h +++ b/src/yuzu/configuration/configure_input.h @@ -25,6 +25,7 @@ class ConfigureInput : public QWidget { public: explicit ConfigureInput(QWidget* parent = nullptr); + ~ConfigureInput() override; /// Save all button configurations to settings file void applyConfiguration(); |