1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:04:59 +00:00

LibGfx/TIFF: Remove an unneeded parameter

This should have been done in f00e9540.
This commit is contained in:
Lucas CHOLLET 2023-12-16 20:33:22 -05:00 committed by Andreas Kling
parent caf9f00456
commit b0e5aadf1a

View file

@ -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: