X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fyazpp%2Ftimestat.h;h=2cf0588fb33a9f0f48d9e56d507a182947e4a783;hb=HEAD;hp=8646a9359178ed68aa4bbb6e11b32423796e06d8;hpb=8353663886b90d762d43790780be6cb58fb93c8a;p=yazpp-moved-to-github.git diff --git a/include/yazpp/timestat.h b/include/yazpp/timestat.h index 8646a93..2cf0588 100644 --- a/include/yazpp/timestat.h +++ b/include/yazpp/timestat.h @@ -1,5 +1,5 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2011 Index Data and Mike Taylor + * Copyright (C) Index Data * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -29,7 +29,6 @@ #ifndef YAZPP_TIMESTAT_H #define YAZPP_TIMESTAT_H -#include #include namespace yazpp_1 { @@ -40,10 +39,8 @@ namespace yazpp_1 { void add_bytes(int m); int get_total(); private: - time_t m_sec; // time of most recent bucket - int *m_bucket; - int m_ptr; - int m_size; + class Rep; + Rep *m_p; }; }