Commit 7a830031 authored by Kenton Varda's avatar Kenton Varda

Fix outdated include guards.

parent 533ece10
......@@ -98,8 +98,8 @@
// * For every macro `FOO` above, there is a `DFOO` version (or `RECOVERABLE_DFOO`) which is only
// executed in debug mode. When `NDEBUG` is defined, these macros expand to nothing.
#ifndef KJ_LOGGING_H_
#define KJ_LOGGING_H_
#ifndef KJ_DEBUG_H_
#define KJ_DEBUG_H_
#include "string.h"
#include "exception.h"
......@@ -296,4 +296,4 @@ void Log::addContextTo(Exception& exception, const char* file, int line,
} // namespace kj
#endif // KJ_LOGGING_H_
#endif // KJ_DEBUG_H_
......@@ -25,8 +25,8 @@
// time, but should then be optimized down to basic primitives (usually, integers) by the
// compiler.
#ifndef KJ_TYPE_SAFETY_H_
#define KJ_TYPE_SAFETY_H_
#ifndef KJ_UNITS_H_
#define KJ_UNITS_H_
#include "common.h"
......@@ -364,4 +364,4 @@ inline constexpr auto operator*(UnitRatio<Number1, Unit2, Unit> ratio,
} // namespace kj
#endif // KJ_TYPE_SAFETY_H_
#endif // KJ_UNITS_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment