Skip to content

Commit 36ffad7

Browse files
committed
fix build failures
1 parent 785cd8c commit 36ffad7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/include/llvm/Config/llvm-config.h.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,6 @@
202202
#cmakedefine LLVM_HAS_LOGF128
203203

204204
/* Define if building LLVM with LLVM_ENABLE_TELEMETRY */
205-
#cmakedefine01 LLVM_ENABLE_TELEMETRY ${LLVM_ENABLE_TELEMETRY}
205+
#cmakedefine01 LLVM_ENABLE_TELEMETRY
206206

207207
#endif

llvm/include/llvm/Telemetry/Telemetry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ struct Config {
6969
// If true, telemetry will be enabled.
7070
const bool EnableTelemetry;
7171

72-
virtual Config() : EnableTelemetry(BuildTimeEnableTelemetry) {}
72+
explicit Config() : EnableTelemetry(BuildTimeEnableTelemetry) {}
7373

7474
// Telemetry can only be enabled if both the runtime and buildtime flag
7575
// are set.

0 commit comments

Comments
 (0)