Annotate vector::normalised with mustuse

This commit is contained in:
Danny Robson 2012-07-31 14:40:00 +10:00
parent 1e269c4ed3
commit d9a3abf4cd

View File

@ -22,6 +22,7 @@
#include "json.hpp" #include "json.hpp"
#include "detail/coord.hpp" #include "detail/coord.hpp"
#include "annotations.hpp"
#include <array> #include <array>
#include <iostream> #include <iostream>
@ -70,8 +71,7 @@ namespace util {
double dot (const util::vector<S>&) const; double dot (const util::vector<S>&) const;
util::vector<S>& normalise (void); util::vector<S>& normalise (void);
util::vector<S> normalised (void) const; util::vector<S> normalised (void) const mustuse;
bool is_zero (void) const; bool is_zero (void) const;