diff --git a/libwccl/ops/functions/bool/predicates/regex.h b/libwccl/ops/functions/bool/predicates/regex.h
index abc48294e621560921f36243bffe6a113b0c5e27..7304239c6ed859605a65a8c3e02f55f7cf9ab89a 100644
--- a/libwccl/ops/functions/bool/predicates/regex.h
+++ b/libwccl/ops/functions/bool/predicates/regex.h
@@ -56,7 +56,7 @@ private:
 	const boost::shared_ptr<const RegexPattern> pattern_;
 };
 
-class RegexParseError : WcclError
+class RegexParseError : public WcclError
 {
 public:
 	RegexParseError(