]> source.dussan.org Git - tigervnc.git/commitdiff
Minor code cleanup.
authorConstantin Kaplinsky <const@tightvnc.com>
Sun, 4 Jun 2006 01:59:54 +0000 (01:59 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Sun, 4 Jun 2006 01:59:54 +0000 (01:59 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@633 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/CapsContainer.cxx

index d9d2ea504daae18abac69baa649e8b1a44f12770..2eb91f64c0279684f8e1d1f15ba2406943f05734 100644 (file)
@@ -25,10 +25,8 @@ using namespace rfb;
 //
 
 CapsContainer::CapsContainer(int maxCaps)
+: m_maxSize(maxCaps), m_listSize(0), m_plist(new rdr::U32[m_maxSize])
 {
-  m_maxSize = maxCaps;
-  m_listSize = 0;
-  m_plist = new rdr::U32[m_maxSize];
 }
 
 //