Commit 9879691
authored
Add parameterless ctor and overload priority (#1678)
Introduce a parameterless TempDirectory() that delegates to the existing constructor, and mark the bool-taking constructor with [OverloadResolutionPriority(1)]. This adds a convenient default ctor while making the intended overload resolution explicit; no change to behavior beyond the added API surface.1 parent 71a431c commit 9879691
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
125 | 130 | | |
126 | 131 | | |
127 | 132 | | |
| |||
0 commit comments