* Add undefined and private copy constructors and assignment operators to avoid copies.
Change-Id: I7ff0665f11f5b557ddb76e15b016ebda6eaaa808
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
glyphy_arc_accumulator_destroy( mAccumulator );
}
+private:
+
+ // Declared private and left undefined to avoid copies.
+ Impl( const Impl& );
+ // Declared private and left undefined to avoid copies.
+ Impl& operator=( const Impl& );
+
+public:
+
FT_Library mFreeTypeLibrary; ///< A handle to a FreeType library instance.
vector<string> mIdLookup;
VectorFontCache( const VectorFontCache& );
// Undefined assignment constructor.
- VectorFontCache& operator=( VectorFontCache& );
+ VectorFontCache& operator=( const VectorFontCache& );
private:
BidirectionalSupport( const BidirectionalSupport& );
// Undefined assignment constructor.
- BidirectionalSupport& operator=( BidirectionalSupport& );
+ BidirectionalSupport& operator=( const BidirectionalSupport& );
private:
FontClient( const FontClient& );
// Undefined assignment constructor.
- FontClient& operator=( FontClient& );
+ FontClient& operator=( const FontClient& );
private:
*/
void CacheFontPath( FT_Face ftFace, FontId id, PointSize26Dot6 pointSize, const FontPath& path );
+private:
+
+ // Declared private and left undefined to avoid copies.
+ Plugin( const Plugin& );
+ // Declared private and left undefined to avoid copies.
+ Plugin& operator=( const Plugin& );
+
+private:
+
FT_Library mFreeTypeLibrary; ///< A handle to a FreeType library instance.
unsigned int mDpiHorizontal; ///< Horizontal dpi.
Shaping( const Shaping& );
// Undefined assignment constructor.
- Shaping& operator=( Shaping& );
+ Shaping& operator=( const Shaping& );
struct Plugin;
Plugin* mPlugin;