[med-svn] [aghermann] 12/23: comment some unused code
andrei zavada
hmmr-guest at alioth.debian.org
Sat Aug 17 18:05:42 UTC 2013
This is an automated email from the git hooks/post-receive script.
hmmr-guest pushed a commit to branch master
in repository aghermann.
commit 4a8762a9ff3be99187c4389a6dfb91b52b5461ec
Author: Andrei Zavada <johnhommer at gmail.com>
Date: Thu Aug 8 15:32:21 2013 +0300
comment some unused code
---
src/common/alg.hh | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/src/common/alg.hh b/src/common/alg.hh
index 88d4f9f..5a04b46 100644
--- a/src/common/alg.hh
+++ b/src/common/alg.hh
@@ -24,15 +24,16 @@ using namespace std;
namespace agh {
namespace alg {
-template <typename T>
-inline void
-__attribute__ ((pure))
-pod_swap( T&& a, T&& b)
-{
- T tmp = move(a);
- a = move(b);
- b = move(tmp);
-}
+/// uncomment on demand
+// template <typename T>
+// inline void
+// __attribute__ ((pure))
+// pod_swap( T&& a, T&& b)
+// {
+// T&& tmp = move(a);
+// a = move(b);
+// b = move(tmp);
+// }
@@ -59,6 +60,7 @@ between( const T& a, const T& b, const T&c)
template <typename T>
struct SSpan {
T a, z;
+ typedef T value_type;
SSpan (const T& a_, const T& z_)
: a (a_), z (z_)
{}
@@ -191,4 +193,5 @@ double sensible_scale_reduction_factor( double display_scale,
// Mode: c++
// indent-tabs-mode: 8
// tab-width: 8
+// c-basic-offset: 8
// End:
--
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git
More information about the debian-med-commit
mailing list