Remove 'inline' from two methods.
authorNico Weber <thakis@chromium.org>
Mon, 28 Jul 2014 22:23:04 +0000 (15:23 -0700)
committerNico Weber <thakis@chromium.org>
Mon, 28 Jul 2014 22:23:04 +0000 (15:23 -0700)
The methods are only defined in the cpp and thus can't always be inlined,
the methods are virtual and so can only be inlined when the concrete type
is known, and inline functions need their definition available in all
translation units.

So just remove the 'inline'.

BUG=none
R=bo_xu@foxitsoftware.com

Review URL: https://codereview.chromium.org/409253004

core/src/fpdfdoc/pdf_vt.h

index 6b2d5e5..0f74cef 100644 (file)
@@ -518,8 +518,8 @@ public:
         return m_fCharSpace;
     }
 
-    inline CPVT_WordPlace                                      GetBeginWordPlace() const;
-    inline CPVT_WordPlace                                      GetEndWordPlace() const;
+    CPVT_WordPlace                                                     GetBeginWordPlace() const;
+    CPVT_WordPlace                                                     GetEndWordPlace() const;
     CPVT_WordPlace                                                     GetPrevWordPlace(const CPVT_WordPlace & place) const;
     CPVT_WordPlace                                                     GetNextWordPlace(const CPVT_WordPlace & place) const;
     CPVT_WordPlace                                                     SearchWordPlace(const CPDF_Point & point) const;