Commit adad4c72 authored by Max Kellermann's avatar Max Kellermann

util/StringCompare: add missing include

parent d54acbcf
/* /*
* Copyright 2013-2018 Max Kellermann <max.kellermann@gmail.com> * Copyright 2013-2020 Max Kellermann <max.kellermann@gmail.com>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
......
/* /*
* Copyright 2013-2018 Max Kellermann <max.kellermann@gmail.com> * Copyright 2013-2020 Max Kellermann <max.kellermann@gmail.com>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
...@@ -38,6 +38,8 @@ ...@@ -38,6 +38,8 @@
#include "WStringCompare.hxx" #include "WStringCompare.hxx"
#endif #endif
#include <string_view>
gcc_pure gcc_nonnull_all gcc_pure gcc_nonnull_all
static inline bool static inline bool
StringIsEmpty(const char *string) noexcept StringIsEmpty(const char *string) noexcept
......
/* /*
* Copyright 2013-2019 Max Kellermann <max.kellermann@gmail.com> * Copyright 2013-2020 Max Kellermann <max.kellermann@gmail.com>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
......
/* /*
* Copyright 2013-2018 Max Kellermann <max.kellermann@gmail.com> * Copyright 2013-2020 Max Kellermann <max.kellermann@gmail.com>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#include "WStringAPI.hxx" #include "WStringAPI.hxx"
#include "Compiler.h" #include "Compiler.h"
#include <string_view>
#include <wchar.h> #include <wchar.h>
gcc_pure gcc_nonnull_all gcc_pure gcc_nonnull_all
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment