binpac: Fixed compiler complaining about recursive function.

This commit is contained in:
Seth Hall 2016-01-16 23:52:01 -05:00 committed by Tim Wojtulewicz
parent e3e4453dac
commit a9d294528d

View file

@ -11,7 +11,7 @@ public:
explicit PacPrimitive(PrimitiveType type) : type_(type) {}
virtual ~PacPrimitive() {}
PrimitiveType type() const { return type(); }
PrimitiveType type() const { return type_; }
virtual string ToCode(Env *env) = 0;