aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-11-04 22:20:01 +0000
committerlloyd <[email protected]>2014-11-04 22:20:01 +0000
commit757a72a79b31e3a18e2d48f43c7436e0566c75a0 (patch)
tree8a42c8d41cc52947cc572bbd7b54710ab1d7dca4
parent7a577ebdc390b539b0c64d0efddab804b65a46a5 (diff)
Use noexcept on swap
-rw-r--r--src/lib/math/ec_gfp/curve_gfp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/ec_gfp/curve_gfp.h b/src/lib/math/ec_gfp/curve_gfp.h
index 48aeb4343..67fb3d2cf 100644
--- a/src/lib/math/ec_gfp/curve_gfp.h
+++ b/src/lib/math/ec_gfp/curve_gfp.h
@@ -169,7 +169,7 @@ namespace std {
template<> inline
void swap<Botan::CurveGFp>(Botan::CurveGFp& curve1,
- Botan::CurveGFp& curve2)
+ Botan::CurveGFp& curve2) noexcept
{
curve1.swap(curve2);
}