summaryrefslogtreecommitdiff
path: root/starmath/inc/caret.hxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-12-22 18:30:51 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2014-12-22 18:44:34 +0900
commitc6167c9c7545f7797a8b48b035d09f2901e545bf (patch)
tree4fbb817fcdc14435dd66ac7813539f43d1c0e3f1 /starmath/inc/caret.hxx
parent15761d100bbc13ea5710782482043837f5406d66 (diff)
prefer constant to macro
Change-Id: I5e629491b5be9e2de1f72fdbe6887038305d0742
Diffstat (limited to 'starmath/inc/caret.hxx')
-rw-r--r--starmath/inc/caret.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/inc/caret.hxx b/starmath/inc/caret.hxx
index f435617748a3..2b951b46e409 100644
--- a/starmath/inc/caret.hxx
+++ b/starmath/inc/caret.hxx
@@ -116,9 +116,6 @@ struct SmCaretPosGraphEntry{
}
};
-/** Define SmCaretPosGraph to be less than one page 4096 */
-#define SmCaretPosGraphSize 255
-
class SmCaretPosGraph;
/** Iterator for SmCaretPosGraph */
@@ -178,6 +175,9 @@ public:
}
friend class SmCaretPosGraphIterator;
private:
+ /** Define SmCaretPosGraph to be less than one page 4096 */
+ static const int SmCaretPosGraphSize = 255;
+
/** Next graph, to be used when this graph is full */
SmCaretPosGraph* pNext;
/** Next free entry in graph */