summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/std/future
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-11 17:53:05 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2011-08-11 17:53:05 +0000
commitd07bb4f7da28395ae675adbd7ed48ca495f120b5 (patch)
treee77313f8a40001d91fa6a88c26442d6e8a13a5ac /libstdc++-v3/include/std/future
parente4ae859de0fa4e0da931697be6853a178eb75c8e (diff)
downloadppe42-gcc-d07bb4f7da28395ae675adbd7ed48ca495f120b5.tar.gz
ppe42-gcc-d07bb4f7da28395ae675adbd7ed48ca495f120b5.zip
2011-08-11 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/future: constexpr functions are implicitly inline. * include/std/chrono: Likewise. * include/std/complex: Likewise. * include/bits/move.h: Likewise. * include/bits/stl_pair.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177679 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/future')
-rw-r--r--libstdc++-v3/include/std/future8
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/include/std/future b/libstdc++-v3/include/std/future
index fc2d3248b01..497b964833f 100644
--- a/libstdc++-v3/include/std/future
+++ b/libstdc++-v3/include/std/future
@@ -129,25 +129,25 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
deferred = 2
};
- inline constexpr launch operator&(launch __x, launch __y)
+ constexpr launch operator&(launch __x, launch __y)
{
return static_cast<launch>(
static_cast<int>(__x) & static_cast<int>(__y));
}
- inline constexpr launch operator|(launch __x, launch __y)
+ constexpr launch operator|(launch __x, launch __y)
{
return static_cast<launch>(
static_cast<int>(__x) | static_cast<int>(__y));
}
- inline constexpr launch operator^(launch __x, launch __y)
+ constexpr launch operator^(launch __x, launch __y)
{
return static_cast<launch>(
static_cast<int>(__x) ^ static_cast<int>(__y));
}
- inline constexpr launch operator~(launch __x)
+ constexpr launch operator~(launch __x)
{ return static_cast<launch>(~static_cast<int>(__x)); }
inline launch& operator&=(launch& __x, launch __y)
OpenPOWER on IntegriCloud