浏览代码

LibGfx/TIFF: Remove an unneeded parameter

This should have been done in f00e9540.
Lucas CHOLLET 1 年之前
父节点
当前提交
b0e5aadf1a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Userland/Libraries/LibGfx/TIFFGenerator.py

+ 2 - 2
Userland/Libraries/LibGfx/TIFFGenerator.py

@@ -9,7 +9,7 @@ import re
 from enum import Enum
 from collections import namedtuple
 from pathlib import Path
-from typing import List, Optional, Type
+from typing import List, Type
 
 
 class EnumWithExportName(Enum):
@@ -132,7 +132,7 @@ LICENSE = R"""/*
  */"""
 
 
-def export_enum_to_cpp(e: Type[EnumWithExportName], special_name: Optional[str] = None) -> str:
+def export_enum_to_cpp(e: Type[EnumWithExportName]) -> str:
     output = f'enum class {e.export_name()} {{\n'
 
     for entry in e: