From b02996d1a81b0efbc785185b9189145dfea45cf5 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Thu, 18 Jul 2024 00:41:43 -0400 Subject: [PATCH] runtime_loader: Drop the first version of the SymbolLookupInfo constructor. Nothing uses it, and it just allowed for mistakes like the one corrected in the last commit to go unnoticed. Change-Id: I5a64b45eb6f1f9abc9f98be14c9ff6d04c2814fa Reviewed-on: https://review.haiku-os.org/c/haiku/+/7853 Haiku-Format: Haiku-format Bot Reviewed-by: waddlesplash --- src/system/runtime_loader/elf_symbol_lookup.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/system/runtime_loader/elf_symbol_lookup.h b/src/system/runtime_loader/elf_symbol_lookup.h index ec7239d90e..b21fd655f2 100644 --- a/src/system/runtime_loader/elf_symbol_lookup.h +++ b/src/system/runtime_loader/elf_symbol_lookup.h @@ -27,19 +27,6 @@ struct SymbolLookupInfo { const elf_version_info* version; elf_sym* requestingSymbol; - SymbolLookupInfo(const char* name, int32 type, uint32 hash, - const elf_version_info* version = NULL, uint32 flags = 0, - elf_sym* requestingSymbol = NULL) - : - name(name), - type(type), - hash(hash), - flags(flags), - version(version), - requestingSymbol(requestingSymbol) - { - } - SymbolLookupInfo(const char* name, int32 type, const elf_version_info* version = NULL, uint32 flags = 0, elf_sym* requestingSymbol = NULL)