Fix using unique_ptr<> in the builds with wxUSE_INTL==0
Include standard library <memory> header file explicitly in the files where std::unique_ptr<> is used instead of relying it on getting implicitly included from the other headers, as this doesn't happen when wxUSE_INTL==0. Closes #23999.
This commit is contained in:
parent
600049f20c
commit
b297edbe79
2 changed files with 3 additions and 0 deletions
|
|
@ -8,6 +8,8 @@
|
|||
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
#if wxUSE_FS_ARCHIVE
|
||||
|
||||
#include "wx/fs_arc.h"
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/app.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue