ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/utils/Algorithm.hpp
(Generate patch)

Comparing branches/development/src/utils/Algorithm.hpp (file contents):
Revision 1766 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
Revision 1767 by gezelter, Fri Jul 6 22:01:58 2012 UTC

# Line 64 | Line 64 | namespace OpenMD {
64  
65  
66    template<typename T>
67 <  struct logical_xor :public std::binary_function<T, T, bool> {
68 <    RealType operator()(T x, T y) { return x ^ y; }
67 >  struct logical_xor : public std::binary_function<T, T, bool> {
68 >    T operator()(const T& x, const T& y) { return x ^ y; }
69    };
70  
71   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines