浏览代码

AK: Remove superfluous explicit in Bitmap (#1337)

howar6hill 5 年之前
父节点
当前提交
4ed2ba264d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      AK/Bitmap.h

+ 2 - 2
AK/Bitmap.h

@@ -199,14 +199,14 @@ public:
         return first_index;
         return first_index;
     }
     }
 
 
-    explicit Bitmap()
+    Bitmap()
         : m_size(0)
         : m_size(0)
         , m_owned(true)
         , m_owned(true)
     {
     {
         m_data = nullptr;
         m_data = nullptr;
     }
     }
 
 
-    explicit Bitmap(size_t size, bool default_value)
+    Bitmap(size_t size, bool default_value)
         : m_size(size)
         : m_size(size)
         , m_owned(true)
         , m_owned(true)
     {
     {