From 3dcf21babe03cee5080a25e787e1d7e72124288e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Sep 2012 01:34:49 +0300 Subject: Add final keyword to most classes. --- src/units.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/units.cpp') diff --git a/src/units.cpp b/src/units.cpp index 3a2a5dace..aa532ed36 100644 --- a/src/units.cpp +++ b/src/units.cpp @@ -33,7 +33,7 @@ #include "debug.h" -struct UnitLevel +struct UnitLevel final { std::string symbol; int count; @@ -41,7 +41,7 @@ struct UnitLevel std::string separator; }; -struct UnitDescription +struct UnitDescription final { std::vector levels; double conversion; -- cgit v1.2.3-60-g2f50