From 349d8eb2481bc5705776504c128405be4bd77484 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@musicpd.org>
Date: Thu, 6 Sep 2018 19:35:09 +0200
Subject: [PATCH] util/WStringCompare: add "noexcept"

---
 src/util/WStringAPI.hxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/WStringAPI.hxx b/src/util/WStringAPI.hxx
index 160e53420..830b84a9a 100644
--- a/src/util/WStringAPI.hxx
+++ b/src/util/WStringAPI.hxx
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2017 Max Kellermann <max.kellermann@gmail.com>
+ * Copyright 2010-2018 Max Kellermann <max.kellermann@gmail.com>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -170,7 +170,7 @@ StringIsEqualIgnoreCase(const wchar_t *a, const wchar_t *b,
 
 gcc_malloc gcc_returns_nonnull gcc_nonnull_all
 static inline wchar_t *
-DuplicateString(const wchar_t *p)
+DuplicateString(const wchar_t *p) noexcept
 {
 #if defined(__sun) && defined (__SVR4)
 	return std::wcsdup(p);
-- 
2.24.1