mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
46 lines
2.3 KiB
Diff
46 lines
2.3 KiB
Diff
|
From 2914039316d4ed3f53c3393dc2ba48f637807689 Mon Sep 17 00:00:00 2001
|
||
|
From: Peter Kasting <pkasting@chromium.org>
|
||
|
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 <awscreen@chromium.org>
|
||
|
Reviewed-by: Alan Screen <awscreen@chromium.org>
|
||
|
Auto-Submit: Peter Kasting <pkasting@chromium.org>
|
||
|
Commit-Queue: Peter Kasting <pkasting@chromium.org>
|
||
|
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
|
||
|
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 <class... T>
|
||
|
void PrintBackendServiceManager::RunSavedCallbacks(
|
||
|
RemoteSavedCallbacks<T...>& saved_callbacks,
|
||
|
const RemoteId& remote_id,
|
||
|
- std::remove_reference<T>::type... result) {
|
||
|
+ typename std::remove_reference<T>::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 <class... T>
|
||
|
void RunSavedCallbacks(RemoteSavedCallbacks<T...>& saved_callbacks,
|
||
|
const RemoteId& remote_id,
|
||
|
- std::remove_reference<T>::type... result);
|
||
|
+ typename std::remove_reference<T>::type... result);
|
||
|
|
||
|
// Test support for client ID management.
|
||
|
static void SetClientsForTesting(
|