From 2914039316d4ed3f53c3393dc2ba48f637807689 Mon Sep 17 00:00:00 2001 From: Peter Kasting Date: Fri, 12 May 2023 16:40:53 +0000 Subject: [PATCH] Add some "typename"s that are required in C++17. Bug: 1444563 Change-Id: I7801f5e82a40305c357eeda219678dda558f5752 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4526465 Commit-Queue: Alan Screen Reviewed-by: Alan Screen Auto-Submit: Peter Kasting Commit-Queue: Peter Kasting Code-Coverage: Findit Cr-Commit-Position: refs/heads/main@{#1143319} --- chrome/browser/printing/print_backend_service_manager.cc | 2 +- chrome/browser/printing/print_backend_service_manager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/browser/printing/print_backend_service_manager.cc b/chrome/browser/printing/print_backend_service_manager.cc index b5a4b525a2d..224369cd58c 100644 --- a/chrome/browser/printing/print_backend_service_manager.cc +++ b/chrome/browser/printing/print_backend_service_manager.cc @@ -1477,7 +1477,7 @@ template void PrintBackendServiceManager::RunSavedCallbacks( RemoteSavedCallbacks& saved_callbacks, const RemoteId& remote_id, - std::remove_reference::type... result) { + typename std::remove_reference::type... result) { auto found_callbacks_map = saved_callbacks.find(remote_id); if (found_callbacks_map == saved_callbacks.end()) return; // No callbacks to run. diff --git a/chrome/browser/printing/print_backend_service_manager.h b/chrome/browser/printing/print_backend_service_manager.h index 41788f42a95..6aa7479c1fd 100644 --- a/chrome/browser/printing/print_backend_service_manager.h +++ b/chrome/browser/printing/print_backend_service_manager.h @@ -588,7 +588,7 @@ class PrintBackendServiceManager { template void RunSavedCallbacks(RemoteSavedCallbacks& saved_callbacks, const RemoteId& remote_id, - std::remove_reference::type... result); + typename std::remove_reference::type... result); // Test support for client ID management. static void SetClientsForTesting(