Skip to content

Commit df246b9

Browse files
herbderbySkia Commit-Bot
authored andcommitted
Add explicit to ctor
Change-Id: I4232d23e0c2dfe46695e948c46f2745c8e7e555c Reviewed-on: https://skia-review.googlesource.com/c/172945 Reviewed-by: Herb Derby <herb@google.com> Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Herb Derby <herb@google.com>
1 parent 9bb1eea commit df246b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/private/SkArenaAlloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class SkArenaAlloc {
6565
public:
6666
SkArenaAlloc(char* block, size_t blockSize, size_t firstHeapAllocation);
6767

68-
SkArenaAlloc(size_t firstHeapAllocation)
68+
explicit SkArenaAlloc(size_t firstHeapAllocation)
6969
: SkArenaAlloc(nullptr, 0, firstHeapAllocation)
7070
{}
7171

0 commit comments

Comments
 (0)