Commit 6cd3382
Dilyan Marinov
vdk-core: add is_default() function to config
Why?
There are cases where we want to know we're using
the default value for a config option. One such
case is configuration presets
#3055
What?
Add is_default() to the config object.
How was this tested?
Unit tests
What kind of change is this?
Feature/non-breaking
Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>1 parent 03dde45 commit 6cd3382
File tree
2 files changed
+15
-0
lines changed- projects/vdk-core
- src/vdk/internal/core
- tests/vdk/internal/core
2 files changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
127 | 140 | | |
128 | 141 | | |
129 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
0 commit comments