aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference/modules/qbs-module.qdoc
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2020-05-14 18:49:05 +0200
committerIvan Komissarov <ABBAPOH@gmail.com>2020-05-25 08:59:04 +0000
commitff61ba1702644bd558ba5d65821b885d39a21e1d (patch)
tree3938f243e9126bf1163cce06264ca46b02132ebf /doc/reference/modules/qbs-module.qdoc
parent6bba36e5e76820409bd3afad5da6883a79f79904 (diff)
ProjectData: return const values/references
Qbs does not care that much about binary compatilibity (because of qbs session) and thus is is preferable to return members by const-ref (saving 2 atomic operations and preventing from accidental detaches). In case when method needs to compute some value instead of returning member directly, the function signature can be changed. Change-Id: I4e8d228761a990d274e77652c94adf9f43a758f1 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'doc/reference/modules/qbs-module.qdoc')
0 files changed, 0 insertions, 0 deletions