From 76de5323b88080f852ca4c2f42593502d26c5620 Mon Sep 17 00:00:00 2001 From: Andy Schwerin Date: Mon, 9 May 2016 16:27:06 -0400 Subject: SERVER-24104 Replace stdx::duration with mongo::Duration. The mongo::Duration type does overflow checking on casts and arithmetic. This patch also moves DESTRUCTOR_GUARD out of assert_util.h into destructor_guard.h in order to break an include cycle with duration.h. --- src/mongo/util/base64.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mongo/util/base64.h') diff --git a/src/mongo/util/base64.h b/src/mongo/util/base64.h index 388e0f9cf1d..d5cf3a71f55 100644 --- a/src/mongo/util/base64.h +++ b/src/mongo/util/base64.h @@ -29,6 +29,9 @@ #pragma once +#include +#include +#include #include "mongo/util/assert_util.h" -- cgit v1.2.1