getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] r4791 - /trunk/getfem/src/getfem/dal_bit_vector.h


From: Yves . Renard
Subject: [Getfem-commits] r4791 - /trunk/getfem/src/getfem/dal_bit_vector.h
Date: Tue, 21 Oct 2014 14:00:53 -0000

Author: renard
Date: Tue Oct 21 16:00:52 2014
New Revision: 4791

URL: http://svn.gna.org/viewcvs/getfem?rev=4791&view=rev
Log:
suppress some warnings

Modified:
    trunk/getfem/src/getfem/dal_bit_vector.h

Modified: trunk/getfem/src/getfem/dal_bit_vector.h
URL: 
http://svn.gna.org/viewcvs/getfem/trunk/getfem/src/getfem/dal_bit_vector.h?rev=4791&r1=4790&r2=4791&view=diff
==============================================================================
--- trunk/getfem/src/getfem/dal_bit_vector.h    (original)
+++ trunk/getfem/src/getfem/dal_bit_vector.h    Tue Oct 21 16:00:52 2014
@@ -336,8 +336,7 @@
 
   public:
     const_visitor_iterator(const VISITOR* p_visitor, size_type pos)
-      : pos_(pos)
-      , p_visitor_(const_cast<VISITOR*>(p_visitor))
+      : p_visitor_(const_cast<VISITOR*>(p_visitor)), pos_(pos)
     {}
 
     bool operator!= (const const_visitor_iterator &other) const{
@@ -389,7 +388,7 @@
     bool operator++();
     operator size_type() const { return ind; }
 
-    const size_type get_last_index() const{return ilast;}
+    size_type get_last_index() const { return ilast;}
 
     const_visitor_iterator<bv_visitor> begin() const{
       return const_visitor_iterator<bv_visitor>(this, *this);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]