summaryrefslogtreecommitdiff
path: root/include/o3tl
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2018-05-24 21:43:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-25 12:34:37 +0200
commita28a839b9f9eeec1544c5ceeeabe7b1083ce1655 (patch)
tree6e2fe3813a9a9d51429c10c97f22b5cee399d3a6 /include/o3tl
parent4b4942224b550235da228655677b5c068a053254 (diff)
no need declare these tag structs separately
Change-Id: I00f336ee4eced431155c79bee6e2373e145ae95c Reviewed-on: https://gerrit.libreoffice.org/54780 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/o3tl')
-rw-r--r--include/o3tl/strong_int.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/o3tl/strong_int.hxx b/include/o3tl/strong_int.hxx
index c0378e344c69..bdb60b30fb69 100644
--- a/include/o3tl/strong_int.hxx
+++ b/include/o3tl/strong_int.hxx
@@ -75,8 +75,7 @@ isInRange(T2 value) {
/// Wrap up an integer type so that we prevent accidental conversion to other integer types.
///
/// e.g.
-/// struct MyIntTag {};
-/// typedef o3tl::strong_int<unsigned, MyIntTag> MyInt;
+/// typedef o3tl::strong_int<unsigned, struct MyIntTag> MyInt;
///
/// \param UNDERLYING_TYPE the underlying scalar type
/// \param PHANTOM_TYPE a type tag, used to distinguish this instantiation of the template