Commit 0329c8dc authored by Jose Dapena Paz's avatar Jose Dapena Paz Committed by Commit Bot

IWYU: missing include to <memory> for unique_ptr usage in print_settings_conversion.h

Fix this build error using libstdc++:
../../printing/print_settings_conversion.h:24:22: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type
   24 | PRINTING_EXPORT std::unique_ptr<PrintSettings> PrintSettingsFromJobSettings(
      |                      ^~~~~~~~~~
../../printing/print_settings_conversion.h:9:1: note: ‘std::unique_ptr’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?

Bug: 957519
Change-Id: I3d23fb277ba5c600109c115e5de48a08c6e401be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2394163Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Commit-Queue: José Dapena Paz <jdapena@igalia.com>
Cr-Commit-Position: refs/heads/master@{#804911}
parent 90d00474
......@@ -5,6 +5,8 @@
#ifndef PRINTING_PRINT_SETTINGS_CONVERSION_H_
#define PRINTING_PRINT_SETTINGS_CONVERSION_H_
#include <memory>
#include "printing/page_range.h"
#include "printing/printing_export.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment