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
commit b0e5aadf1a
Notes: sideshowbarker 2024-07-17 06:45:52 +09:00

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: