[Scummvm-git-logs] scummvm master -> d8ab567a9b828e3b69e5a50136392acc05c6e459
lephilousophe
lephilousophe at users.noreply.github.com
Mon Feb 8 09:54:42 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d8ab567a9b COMMON: Add include guard on initializer_list.h
Commit: d8ab567a9b828e3b69e5a50136392acc05c6e459
https://github.com/scummvm/scummvm/commit/d8ab567a9b828e3b69e5a50136392acc05c6e459
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2021-02-08T10:54:20+01:00
Commit Message:
COMMON: Add include guard on initializer_list.h
Changed paths:
common/initializer_list.h
diff --git a/common/initializer_list.h b/common/initializer_list.h
index 8babe2730f..9745a92754 100644
--- a/common/initializer_list.h
+++ b/common/initializer_list.h
@@ -1,3 +1,6 @@
+#ifndef COMMON_INITIALIZER_LIST_H
+#define COMMON_INITIALIZER_LIST_H
+
// Some compiler only have partial support for C++11 and we provide replacements for reatures not available.
#ifdef USE_CXX11
@@ -42,3 +45,5 @@ namespace std {
#endif // NO_CXX11_INITIALIZER_LIST
#endif // USE_CXX11
+
+#endif // COMMON_INITIALIZER_LIST_H
More information about the Scummvm-git-logs
mailing list