Parent Directory | Revision Log | Patch
revision 1.2 by delpinux, Sat Feb 22 13:54:47 2003 UTC | revision 1.3 by delpinux, Sat Apr 26 18:54:56 2003 UTC | |
---|---|---|
# | Line 20 | Line 20 |
20 | #ifndef REFERENCE_HPP | #ifndef REFERENCE_HPP |
21 | #define REFERENCE_HPP | #define REFERENCE_HPP |
22 | ||
23 | #include <cassert> | |
24 | #include <vector> | #include <vector> |
25 | /** | /** |
26 | * @file Reference.hpp | * @file Reference.hpp |
# | Line 135 public: | Line 136 public: |
136 | { | { |
137 | size_t ref=0; | size_t ref=0; |
138 | for (size_t i = R.__reference.size()-1; i<R.__reference.size(); --i) { | for (size_t i = R.__reference.size()-1; i<R.__reference.size(); --i) { |
139 | ref << 1; | ref <<= 1; |
140 | ref |= (R.__reference[i])?1:0; | ref |= (R.__reference[i])?1:0; |
141 | } | } |
142 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |