mirror of
https://bitbucket.org/Mattrixwv/my-classes.git
synced 2025-12-06 18:23:57 -05:00
Updated for uniformity and random now working
This commit is contained in:
@@ -19,17 +19,18 @@
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef STOPWATCH_HPP
|
||||
#define STOPWATCH_HPP
|
||||
#ifndef MEE_STOPWATCH_HPP
|
||||
#define MEE_STOPWATCH_HPP
|
||||
|
||||
|
||||
#include <chrono>
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
||||
|
||||
namespace mee{
|
||||
|
||||
|
||||
class Stopwatch{
|
||||
public:
|
||||
//Create an error class
|
||||
@@ -202,6 +203,8 @@ std::ostream& operator<<(std::ostream& out, Stopwatch& timer){
|
||||
bool num = timer.hasStopped;
|
||||
return out;
|
||||
}
|
||||
|
||||
|
||||
} //end namespace mee
|
||||
|
||||
#endif //end STOPWATCH_HPP
|
||||
#endif //end MEE_STOPWATCH_HPP
|
||||
|
||||
Reference in New Issue
Block a user