aboutsummaryrefslogtreecommitdiff
path: root/lib/application-service/definitions/protocol.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-11-23 19:18:51 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-12-08 16:46:57 +0900
commited1f15151babee9ebc690ffa5c2593119540e8f0 (patch)
tree5b7d5de859a8b22525b87d065f9152055b7d9aa2 /lib/application-service/definitions/protocol.h
parentced7179117fd67cb1632f943f4ba1fde96423c0c (diff)
downloadlibquotient-ed1f15151babee9ebc690ffa5c2593119540e8f0.tar.gz
libquotient-ed1f15151babee9ebc690ffa5c2593119540e8f0.zip
Omittable: make operator-> and operator* return an empty object if omitted == true
That is, instead of Q_ASSERTing in debug builds (release builds already work that way). The idea is that since the value is default-initialised anyway it can be used as a "blank canvas" to access specific fields inside the value's structure. The next commit will use that.
Diffstat (limited to 'lib/application-service/definitions/protocol.h')
0 files changed, 0 insertions, 0 deletions