summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_stylesheet.cpp
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2011-11-10 18:19:19 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-24 14:10:30 +0100
commitd8ff456b4d762d18d0e3a3b97bb897a826667d67 (patch)
treef974554ea4711b9bb386e21441d1ebfac245ed0f /doc/src/snippets/code/doc_src_stylesheet.cpp
parent32240022731f513fc080a6ca3e7ba6a2374fe0b6 (diff)
Removed remaining int operations from RefCount
RefCount has currently three magic values (-1 for statics, 0 for unsharables, 1 for unshared-sharable). From the API point of view, the individual values are not important or necessary and it's error prone for users of the class to be fiddling with them. Change-Id: I7037cc31d3d062abbad73d04962bc74d85ebd20f Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'doc/src/snippets/code/doc_src_stylesheet.cpp')
0 files changed, 0 insertions, 0 deletions