Skip to content
Permalink
Browse files

[openSUSE chromium-old-glibc-noexcept.patch]

  • Loading branch information
jengelh committed Jan 25, 2020
1 parent b1b781b commit 1e1db52495c7ea3b41c465c1eaeb0d1190dde570
@@ -19,12 +19,12 @@ MediaSink::MediaSink(const MediaSink::Id& sink_id,
provider_id_(provider_id) {}

MediaSink::MediaSink(const MediaSink& other) = default;
MediaSink::MediaSink(MediaSink&& other) noexcept = default;
MediaSink::MediaSink(MediaSink&& other) = default;
MediaSink::MediaSink() = default;
MediaSink::~MediaSink() = default;

MediaSink& MediaSink::operator=(const MediaSink& other) = default;
MediaSink& MediaSink::operator=(MediaSink&& other) noexcept = default;
MediaSink& MediaSink::operator=(MediaSink&& other) = default;

bool MediaSink::IsMaybeCloudSink() const {
switch (icon_type_) {
@@ -42,7 +42,7 @@ QueryResults::QueryResults(QueryResults&& other) noexcept {
Swap(&other);
}

QueryResults& QueryResults::operator=(QueryResults&& other) noexcept {
QueryResults& QueryResults::operator=(QueryResults&& other) {
Swap(&other);
return *this;
}
@@ -186,7 +186,7 @@ QueryURLResult::QueryURLResult(QueryURLResult&&) noexcept = default;

QueryURLResult& QueryURLResult::operator=(const QueryURLResult&) = default;

QueryURLResult& QueryURLResult::operator=(QueryURLResult&&) noexcept = default;
QueryURLResult& QueryURLResult::operator=(QueryURLResult&&) = default;

// MostVisitedURL --------------------------------------------------------------

@@ -141,7 +141,7 @@ class QueryResults {
~QueryResults();

QueryResults(QueryResults&& other) noexcept;
QueryResults& operator=(QueryResults&& other) noexcept;
QueryResults& operator=(QueryResults&& other);

void set_reached_beginning(bool reached) { reached_beginning_ = reached; }
bool reached_beginning() { return reached_beginning_; }
@@ -276,7 +276,7 @@ struct QueryURLResult {
QueryURLResult(const QueryURLResult&);
QueryURLResult(QueryURLResult&&) noexcept;
QueryURLResult& operator=(const QueryURLResult&);
QueryURLResult& operator=(QueryURLResult&&) noexcept;
QueryURLResult& operator=(QueryURLResult&&);
~QueryURLResult();

// Indicates whether the call to HistoryBackend::QueryURL was successfull
@@ -26,7 +26,7 @@ URLRow::~URLRow() {
}

URLRow& URLRow::operator=(const URLRow& other) = default;
URLRow& URLRow::operator=(URLRow&& other) noexcept = default;
URLRow& URLRow::operator=(URLRow&& other) = default;

void URLRow::Swap(URLRow* other) {
std::swap(id_, other->id_);
@@ -60,7 +60,7 @@ SuggestionAnswer::TextField::TextField(TextField&&) noexcept = default;
SuggestionAnswer::TextField& SuggestionAnswer::TextField::operator=(
const TextField&) = default;
SuggestionAnswer::TextField& SuggestionAnswer::TextField::operator=(
TextField&&) noexcept = default;
TextField&&) = default;

// static
bool SuggestionAnswer::TextField::ParseTextField(const base::Value& field_json,
@@ -52,7 +52,7 @@ PolicyMap::Entry::Entry(
PolicyMap::Entry::~Entry() = default;

PolicyMap::Entry::Entry(Entry&&) noexcept = default;
PolicyMap::Entry& PolicyMap::Entry::operator=(Entry&&) noexcept = default;
PolicyMap::Entry& PolicyMap::Entry::operator=(Entry&&) = default;

PolicyMap::Entry PolicyMap::Entry::DeepCopy() const {
Entry copy(level, scope, source, value ? value->CreateDeepCopy() : nullptr,
@@ -14,22 +14,22 @@ LogoMetadata::LogoMetadata() = default;
LogoMetadata::LogoMetadata(const LogoMetadata&) = default;
LogoMetadata::LogoMetadata(LogoMetadata&&) noexcept = default;
LogoMetadata& LogoMetadata::operator=(const LogoMetadata&) = default;
LogoMetadata& LogoMetadata::operator=(LogoMetadata&&) noexcept = default;
LogoMetadata& LogoMetadata::operator=(LogoMetadata&&) = default;
LogoMetadata::~LogoMetadata() = default;

EncodedLogo::EncodedLogo() = default;
EncodedLogo::EncodedLogo(const EncodedLogo&) = default;
EncodedLogo::EncodedLogo(EncodedLogo&&) noexcept = default;
EncodedLogo& EncodedLogo::operator=(const EncodedLogo&) = default;
EncodedLogo& EncodedLogo::operator=(EncodedLogo&&) noexcept = default;
EncodedLogo& EncodedLogo::operator=(EncodedLogo&&) = default;
EncodedLogo::~EncodedLogo() = default;

Logo::Logo() = default;
Logo::~Logo() = default;

LogoCallbacks::LogoCallbacks() = default;
LogoCallbacks::LogoCallbacks(LogoCallbacks&&) noexcept = default;
LogoCallbacks& LogoCallbacks::operator=(LogoCallbacks&&) noexcept = default;
LogoCallbacks& LogoCallbacks::operator=(LogoCallbacks&&) = default;
LogoCallbacks::~LogoCallbacks() = default;

} // namespace search_provider_logos
@@ -58,7 +58,7 @@ CoreAccountInfo::CoreAccountInfo(CoreAccountInfo&& other) noexcept = default;
CoreAccountInfo& CoreAccountInfo::operator=(const CoreAccountInfo& other) =
default;

CoreAccountInfo& CoreAccountInfo::operator=(CoreAccountInfo&& other) noexcept =
CoreAccountInfo& CoreAccountInfo::operator=(CoreAccountInfo&& other) =
default;

bool CoreAccountInfo::IsEmpty() const {
@@ -75,7 +75,7 @@ AccountInfo::AccountInfo(AccountInfo&& other) noexcept = default;

AccountInfo& AccountInfo::operator=(const AccountInfo& other) = default;

AccountInfo& AccountInfo::operator=(AccountInfo&& other) noexcept = default;
AccountInfo& AccountInfo::operator=(AccountInfo&& other) = default;

bool AccountInfo::IsEmpty() const {
return CoreAccountInfo::IsEmpty() && hosted_domain.empty() &&
@@ -14,7 +14,7 @@ CoreAccountId::~CoreAccountId() = default;

CoreAccountId& CoreAccountId::operator=(const CoreAccountId&) = default;

CoreAccountId& CoreAccountId::operator=(CoreAccountId&&) noexcept = default;
CoreAccountId& CoreAccountId::operator=(CoreAccountId&&) = default;

CoreAccountId::CoreAccountId(const char* id) : id(id) {}

@@ -20,7 +20,7 @@ struct CoreAccountId {
~CoreAccountId();

CoreAccountId& operator=(const CoreAccountId&);
CoreAccountId& operator=(CoreAccountId&&) noexcept;
CoreAccountId& operator=(CoreAccountId&&);

// Those implicit constructor and conversion operator allow to
// progressively migrate the code to use this struct. Removing
@@ -173,7 +173,7 @@ GPUInfo::GPUDevice& GPUInfo::GPUDevice::operator=(
const GPUInfo::GPUDevice& other) = default;

GPUInfo::GPUDevice& GPUInfo::GPUDevice::operator=(
GPUInfo::GPUDevice&& other) noexcept = default;
GPUInfo::GPUDevice&& other) = default;

GPUInfo::GPUInfo()
: optimus(false),

0 comments on commit 1e1db52

Please sign in to comment.
You can’t perform that action at this time.