[pan: 4/7] try to make ubuntu compilers happy




commit b9c7d064e8a973809ca6d8c74cdba5286b7969a8
Author: Thomas Tanner <thosrtanner googlemail com>
Date:   Fri Jun 24 20:17:36 2022 +0100

    try to make ubuntu compilers happy

 pan/general/article_number.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pan/general/article_number.h b/pan/general/article_number.h
index 2729319..88148e3 100644
--- a/pan/general/article_number.h
+++ b/pan/general/article_number.h
@@ -118,7 +118,7 @@ class Article_Number {
     explicit Article_Number(type x) : val_(x) {}
     explicit Article_Number(StringView const &);
 
-    explicit operator unsigned long long () const { return val_; }
+    explicit operator type () const { return val_; }
 
     Article_Number &operator=(Article_Number const &val)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]