summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2017-02-11 16:42:13 -0600
committertrav90 <travawine@protonmail.ch>2017-02-11 16:42:13 -0600
commit61fbe65f6da6ac05c5c4adcd70d05fbd4a429995 (patch)
tree7b064d2f7f7d970e1a58a27864489cc75fb4c90e /build
parent831becdb5a44cee38b7d06b083aa2dcd6292cf8b (diff)
downloadpalemoon-gre-61fbe65f6da6ac05c5c4adcd70d05fbd4a429995.tar.gz
Fix whitespaces in stdc++compat.cpp
No code changes.
Diffstat (limited to 'build')
-rw-r--r--build/unix/stdc++compat/stdc++compat.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/build/unix/stdc++compat/stdc++compat.cpp b/build/unix/stdc++compat/stdc++compat.cpp
index dd8565cae..193f0338d 100644
--- a/build/unix/stdc++compat/stdc++compat.cpp
+++ b/build/unix/stdc++compat/stdc++compat.cpp
@@ -27,6 +27,7 @@
This file adds the necessary compatibility tricks to avoid symbols with
version GLIBCXX_3.4.11 and bigger, keeping binary compatibility with
libstdc++ 4.3.
+
*/
#define GLIBCXX_VERSION(a, b, c) (((a) << 16) | ((b) << 8) | (c))
@@ -50,8 +51,8 @@ namespace std {
#endif /* (__GNUC__ == 4) && (__GNUC_MINOR__ >= 5) */
#if MOZ_LIBSTDCXX_VERSION >= GLIBCXX_VERSION(3, 4, 16)
/* Instantiate these templates to avoid GLIBCXX_3.4.16 symbol versions
- * depending on compiler optimizations */
- template int string::_S_compare(size_type, size_type);
+ * depending on compiler optimizations */
+ template int string::_S_compare(size_type, size_type);
#endif
}
@@ -173,13 +174,13 @@ __cxa_throw_bad_array_new_length()
#if MOZ_LIBSTDCXX_VERSION >= GLIBCXX_VERSION(3, 4, 21)
/* While we generally don't build with exceptions, we have some host tools
-* that do use them. libstdc++ from GCC 5.0 added exception constructors with
-* char const* argument. Older versions only have a constructor with
-* std::string. */
+ * that do use them. libstdc++ from GCC 5.0 added exception constructors with
+ * char const* argument. Older versions only have a constructor with
+ * std::string. */
namespace std {
- runtime_error::runtime_error(char const* s)
- : runtime_error(std::string(s))
- {
- }
+ runtime_error::runtime_error(char const* s)
+ : runtime_error(std::string(s))
+ {
+ }
}
#endif