提交 30fa2821 编写于 作者: B Behdad Esfahbod

Make internal method private

上级 ce5694c7
......@@ -511,11 +511,6 @@ struct GenericArrayOf
inline unsigned int get_size () const
{ return len.get_size () + len * Type::get_size (); }
inline bool sanitize_shallow (SANITIZE_ARG_DEF) {
TRACE_SANITIZE ();
return SANITIZE_SELF() && SANITIZE_ARRAY (this, Type::get_size (), len);
}
inline bool sanitize (SANITIZE_ARG_DEF) {
TRACE_SANITIZE ();
if (!likely (sanitize_shallow (SANITIZE_ARG))) return false;
......@@ -561,6 +556,13 @@ struct GenericArrayOf
return true;
}
private:
inline bool sanitize_shallow (SANITIZE_ARG_DEF) {
TRACE_SANITIZE ();
return SANITIZE_SELF() && SANITIZE_ARRAY (this, Type::get_size (), len);
}
public:
LenType len;
/*Type array[VAR];*/
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册