Commit 2a4c36fa authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa Committed by Commit Bot

IWYU: Include <cmath> for std::isnan()

This fixes the libstdc++ build after commit 4b6b8cf6 ("[cleanup] Start
cleaning up utils.h"), as string-util.cc was including <cmath> indirectly
via src/conversions.h.

Bug: chromium:819294
Change-Id: I5be7eac355d0c316a432eab4c50ae66d885b03d7
Reviewed-on: https://chromium-review.googlesource.com/c/1491591Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59905}
parent 6a80efc1
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
#include "src/inspector/string-util.h" #include "src/inspector/string-util.h"
#include <cmath>
#include "src/base/platform/platform.h" #include "src/base/platform/platform.h"
#include "src/conversions.h" #include "src/conversions.h"
#include "src/inspector/protocol/Protocol.h" #include "src/inspector/protocol/Protocol.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