diff --git a/include/rocksdb/options.h b/include/rocksdb/options.h index 33803eb1f67b..5a8d8a9eef55 100644 --- a/include/rocksdb/options.h +++ b/include/rocksdb/options.h @@ -435,7 +435,7 @@ struct CompactionServiceScheduleResponse { CompactionServiceScheduleResponse(std::string scheduled_job_id_, CompactionServiceJobStatus status_) : scheduled_job_id(scheduled_job_id_), status(status_) {} - CompactionServiceScheduleResponse(CompactionServiceJobStatus status_) + explicit CompactionServiceScheduleResponse(CompactionServiceJobStatus status_) : status(status_) {} };