From fdd8723bf4557b9e93bbec90ff666c745d4cb3a7 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Wed, 2 Dec 2020 12:04:45 +1000 Subject: [PATCH] types/tagged: use more explicit return types for `tag` --- types/tagged.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/tagged.hpp b/types/tagged.hpp index 42d7c2d3..fdc8a51b 100644 --- a/types/tagged.hpp +++ b/types/tagged.hpp @@ -81,8 +81,8 @@ namespace cruft { ///-------------------------------------------------------------------- /// Return the type code associated with the stored value. - auto tag (void) const { return m_tag; } - auto tag (void) { return m_tag; } + tag_t tag (void) const { return m_tag; } + tag_t tag (void) { return m_tag; } /// Returns true if the contained type is the same as the type