From a30cba782eca76807bde43f1f693d3f923ce6d8c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 19 Jan 2013 14:38:06 +1100 Subject: Add private copy constructors to prevent copying and avoid warnings. --- src/ViewStyle.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ViewStyle.h') diff --git a/src/ViewStyle.h b/src/ViewStyle.h index 25467052f..676aee7da 100644 --- a/src/ViewStyle.h +++ b/src/ViewStyle.h @@ -32,6 +32,8 @@ private: int size; int max; + // Private so FontNames objects can not be copied + FontNames(const FontNames &); public: FontNames(); ~FontNames(); -- cgit v1.2.3