summaryrefslogtreecommitdiff
path: root/xfa/src/fwl/src/lightwidget/datetimepicker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fwl/src/lightwidget/datetimepicker.cpp')
-rw-r--r--xfa/src/fwl/src/lightwidget/datetimepicker.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/xfa/src/fwl/src/lightwidget/datetimepicker.cpp b/xfa/src/fwl/src/lightwidget/datetimepicker.cpp
index 2b897943f1..1ceb4698e5 100644
--- a/xfa/src/fwl/src/lightwidget/datetimepicker.cpp
+++ b/xfa/src/fwl/src/lightwidget/datetimepicker.cpp
@@ -4,7 +4,10 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+#include <memory>
+
#include "../../../foxitlib.h"
+
CFWL_DateTimePicker* CFWL_DateTimePicker::Create() {
return new CFWL_DateTimePicker;
}
@@ -15,7 +18,7 @@ FWL_ERR CFWL_DateTimePicker::Initialize(
if (pProperties) {
*m_pProperties = *pProperties;
}
- nonstd::unique_ptr<IFWL_DateTimePicker> pDateTimePicker(
+ std::unique_ptr<IFWL_DateTimePicker> pDateTimePicker(
IFWL_DateTimePicker::Create(
m_pProperties->MakeWidgetImpProperties(&m_DateTimePickerDP),
nullptr));