diff --git a/src/V3Global.h b/src/V3Global.h index 40d102aee..685f84a8d 100644 --- a/src/V3Global.h +++ b/src/V3Global.h @@ -43,7 +43,7 @@ class V3HierBlockPlan; /// end-of-stope. // Object must be named, or it will not persist until end-of-scope. // Constructor needs () or GCC 4.8 false warning. -#define VL_RESTORER(var) const VRestorer restorer_##var(var); +#define VL_RESTORER(var) const VRestorer::type> restorer_##var(var); // Object used by VL_RESTORER. This object must be an auto variable, not // allocated on the heap or otherwise.