diff --git a/include/triton/ir/instructions.h b/include/triton/ir/instructions.h index c2d427ae8..9f4e18da8 100644 --- a/include/triton/ir/instructions.h +++ b/include/triton/ir/instructions.h @@ -475,6 +475,7 @@ protected: std::string get_eviction_policy_repr() const { if (eviction_ == EVICT_FIRST) return ".L1::evict_first"; if (eviction_ == EVICT_LAST) return ".L2::evict_last"; + return ""; } EVICTION_POLICY eviction_; CACHE_MODIFIER cache_; diff --git a/include/triton/ir/type.h b/include/triton/ir/type.h index 16a81cb5f..2c9d25294 100644 --- a/include/triton/ir/type.h +++ b/include/triton/ir/type.h @@ -21,7 +21,6 @@ class type { public: typedef std::vector block_shapes_t; -protected: typedef std::vector contained_tys_vec_t; typedef contained_tys_vec_t::iterator ty_iterator; typedef contained_tys_vec_t::const_iterator const_ty_iterator;