summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJosh Blum2013-06-22 19:24:34 -0700
committerJosh Blum2013-06-22 19:24:34 -0700
commit1cebdcfb645ca6abefaa5e2d8feac8140e95e5ad (patch)
treea4c67de25d394cec0e839c73a9454c3673f82d9c /include
parent407a198a07dc1a333bda8b5c2e731ce0ee793ebf (diff)
downloadsandhi-1cebdcfb645ca6abefaa5e2d8feac8140e95e5ad.tar.gz
sandhi-1cebdcfb645ca6abefaa5e2d8feac8140e95e5ad.tar.bz2
sandhi-1cebdcfb645ca6abefaa5e2d8feac8140e95e5ad.zip
gras: various fixes for new time tag class
Diffstat (limited to 'include')
-rw-r--r--include/gras/time_tag.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/gras/time_tag.hpp b/include/gras/time_tag.hpp
index 9459f9f..2476f41 100644
--- a/include/gras/time_tag.hpp
+++ b/include/gras/time_tag.hpp
@@ -35,13 +35,13 @@ struct GRAS_API TimeTag :
static TimeTag from_pmc(const PMCC &p);
//! Convert this time tag to ticks w/ default ticks per second
- time_ticks_t to_ticks(void);
+ time_ticks_t to_ticks(void) const;
//! Convert this time tag to ticks w/ specified ticks per second
- time_ticks_t to_ticks(const double rate);
+ time_ticks_t to_ticks(const double rate) const;
//! Convert this time tag to a PMC containing a PMCTuple<2>(uint64, double)
- PMCC to_pmc(void);
+ PMCC to_pmc(void) const;
//! Addition for additive interface
TimeTag &operator+=(const TimeTag &);