Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerContext.h @ 5784:b0d778f1e66d find-refactoring
fix
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Mon, 16 Sep 2024 18:57:15 +0200 |
parents | 56352ae88120 |
children | b4e7a85cde80 |
comparison
equal
deleted
inserted
replaced
5783:56352ae88120 | 5784:b0d778f1e66d |
---|---|
346 return compressionEnabled_; | 346 return compressionEnabled_; |
347 } | 347 } |
348 | 348 |
349 void SetReadOnly(bool readOnly) | 349 void SetReadOnly(bool readOnly) |
350 { | 350 { |
351 readOnly_ = true; | 351 readOnly_ = readOnly; |
352 } | 352 } |
353 | 353 |
354 bool IsReadOnly() const | 354 bool IsReadOnly() const |
355 { | 355 { |
356 return readOnly_; | 356 return readOnly_; |