Skip to content

Commit

Permalink
Fix dirtyAccesses default value replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
chaubold committed Jan 4, 2019
1 parent 3905b01 commit 47bc9e7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ protected static class Values extends ReadOnlyCachedCellImgOptions.Values {
*/
Values(final Values that) {
super(that);
this.dirtyAccesses = true; // RW default value differs from readonly cache
if (!that.dirtyAccessesModified) {
this.dirtyAccesses = true; // RW default value differs from readonly cache
}
this.numIoThreads = that.numIoThreads;
this.numIoThreadsModified = that.numIoThreadsModified;
this.maxIoQueueSize = that.maxIoQueueSize;
Expand Down

0 comments on commit 47bc9e7

Please sign in to comment.