1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 13:05:09 +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 enum import Enum
from collections import namedtuple from collections import namedtuple
from pathlib import Path from pathlib import Path
from typing import List, Optional, Type from typing import List, Type
class EnumWithExportName(Enum): 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' output = f'enum class {e.export_name()} {{\n'
for entry in e: for entry in e: