Commit 2776beea authored by Jose Dapena Paz's avatar Jose Dapena Paz Committed by Commit Bot

IWYU: std::sort requires include algorithm in AutoFillOfferData.

Fixes this compilation error:
../../components/autofill/core/browser/data_model/autofill_offer_data.cc:56:8: error: ‘sort’ is not a member of ‘std’; did you mean ‘sqrt’?

Bug: 957519
Change-Id: Iaef429cfca5e55af8b819457f9b9729ab4f669f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2423586
Commit-Queue: Parastoo Geranmayeh <parastoog@google.com>
Reviewed-by: default avatarParastoo Geranmayeh <parastoog@google.com>
Cr-Commit-Position: refs/heads/master@{#809447}
parent 8648e096
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
#include "components/autofill/core/browser/data_model/autofill_offer_data.h" #include "components/autofill/core/browser/data_model/autofill_offer_data.h"
#include <algorithm>
namespace autofill { namespace autofill {
AutofillOfferData::AutofillOfferData() = default; AutofillOfferData::AutofillOfferData() = default;
...@@ -65,4 +67,4 @@ int AutofillOfferData::Compare( ...@@ -65,4 +67,4 @@ int AutofillOfferData::Compare(
return 0; return 0;
} }
} // namespace autofill } // namespace autofill
\ No newline at end of file
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