diff --git a/SPIRV/Logger.h b/SPIRV/Logger.h index 15b5e354..2e4ddaf5 100644 --- a/SPIRV/Logger.h +++ b/SPIRV/Logger.h @@ -44,8 +44,7 @@ namespace spv { // missing/TBD functionalities, warnings, and errors. class SpvBuildLogger { public: - SpvBuildLogger() = default; - SpvBuildLogger(const SpvBuildLogger&) = delete; + SpvBuildLogger() {} // Registers a TBD functionality. void tbdFunctionality(const std::string& f); @@ -62,6 +61,8 @@ public: std::string getAllMessages() const; private: + SpvBuildLogger(const SpvBuildLogger&); + std::vector tbdFeatures; std::vector missingFeatures; std::vector warnings;