瀏覽代碼

oops inline flag

David Rose 24 年之前
父節點
當前提交
ade89730c6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      panda/src/text/textNode.I

+ 1 - 1
panda/src/text/textNode.I

@@ -1287,7 +1287,7 @@ calc_width(const wstring &line) const {
 //               wordwrap_width (and does not break any words, if
 //               possible).  Returns the new string.
 ////////////////////////////////////////////////////////////////////
-wstring TextNode::
+INLINE wstring TextNode::
 wordwrap_to(const wstring &wtext, float wordwrap_width,
             bool preserve_trailing_whitespace) const {
   nassertr(_font != (TextFont *)NULL, wtext);