diff options
Diffstat (limited to 'Source/cmArchiveWrite.h')
-rw-r--r-- | Source/cmArchiveWrite.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmArchiveWrite.h b/Source/cmArchiveWrite.h index 0d33758d8..34aafe905 100644 --- a/Source/cmArchiveWrite.h +++ b/Source/cmArchiveWrite.h @@ -26,7 +26,7 @@ public: } void Clear() { this->IsValueSet = false; } bool IsSet() const { return this->IsValueSet; } - T Get() const { return Value; } + T Get() const { return this->Value; } private: T Value; @@ -54,7 +54,8 @@ public: /** Construct with output stream to which to write archive. */ cmArchiveWrite(std::ostream& os, Compress c = CompressNone, - std::string const& format = "paxr", int compressionLevel = 0); + std::string const& format = "paxr", int compressionLevel = 0, + int numThreads = 1); ~cmArchiveWrite(); |