Skip to content

Commit f1289a2

Browse files
committed
Fix clang-tidy
1 parent 5746b84 commit f1289a2

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/base/gfx/colortransform.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#include <utility>
77

88
#include "base/text/funcstring.h"
9-
#include "base/text/smartstring.h"
109

1110
#include "color.h"
1211

src/base/text/funcstring.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <array>
44
#include <stdexcept>
55
#include <string>
6+
#include <utility>
67

78
#include "smartstring.h"
89

test/unit/base/gfx/color.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const static auto tests =
1111
.add_case("Convertable from hex string",
1212
[]
1313
{
14-
const Gfx::Color color("#12345678");
14+
auto color = Gfx::Color::fromString("#12345678");
1515
check() << color.red == 0x12 / 255.0;
1616
check() << color.green == 0x34 / 255.0;
1717
check() << color.blue == 0x56 / 255.0;

0 commit comments

Comments
 (0)