mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Bug 1368616 - Error compiling TestBlockingProcess.exe with MinGW: undefined reference to _imp___ZN7mozilla6UnusedE r=froydnj
This commit is contained in:
parent
17a1672b16
commit
09b68c9d97
@ -7,6 +7,7 @@
|
||||
#ifndef mozilla_unused_h
|
||||
#define mozilla_unused_h
|
||||
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/Types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
@ -20,7 +21,7 @@ namespace mozilla {
|
||||
struct unused_t
|
||||
{
|
||||
template<typename T>
|
||||
inline void
|
||||
MOZ_ALWAYS_INLINE_EVEN_DEBUG void
|
||||
operator<<(const T& /*unused*/) const {}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user