summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2011-11-21 16:37:53 +0100
committerPatrick Ohly <patrick.ohly@intel.com>2011-11-28 10:18:19 +0100
commit00de4dfa876474e5ac95e97bf68530ded6879329 (patch)
tree5baf7ac0e3d9dc800dd0142092693fded6734d8a /README.rst
parent0201707a7591980c4b7d306472d10453261d24e7 (diff)
config: return value + "was set" for each config property
At the property level, the isDefault retval exposed whether the property value was set explicitly in the config or taken from the property default. That information got lost at the SyncConfig/SyncSourceConfig level although there are cases where that is relevant (like providing better error messages, BMC #23783). Now that level uses the new InitState classes instead of plain int/bool/std::string return values. Code which assigns these return values to local variables doesn't need to be adapted. Directly using the return value in an expression might need some work (typically adding a get() if the compiler cannot infer the desired type). Overriding the virtual methods always needs to be adapted.
Diffstat (limited to 'README.rst')
0 files changed, 0 insertions, 0 deletions