From 6d3184ff44e845d198c183b6b86cd900d21da42f Mon Sep 17 00:00:00 2001 From: Wei Yang Date: Thu, 5 Jul 2018 12:31:59 +0800 Subject: [PATCH] Fix two typo in variant.hpp --- include/fc/variant.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fc/variant.hpp b/include/fc/variant.hpp index 9736423..fd286ea 100644 --- a/include/fc/variant.hpp +++ b/include/fc/variant.hpp @@ -173,7 +173,7 @@ namespace fc * and variant_object's. * * variant's allocate everything but strings, arrays, and objects on the - * stack and are 'move aware' for values allcoated on the heap. + * stack and are 'move aware' for values allocated on the heap. * * Memory usage on 64 bit systems is 16 bytes and 12 bytes on 32 bit systems. */ @@ -352,7 +352,7 @@ namespace fc void clear(); private: void init(); - double _data; ///< Alligned according to double requirements + double _data; ///< Aligned according to double requirements char _type[sizeof(void*)]; ///< pad to void* size }; typedef optional ovariant;