From 8a45c1d9483195e44a0b7e909a30cb2e3cee3d21 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Wed, 3 Jun 2015 01:18:58 +0200 Subject: [PATCH] fix typo in header include guard --- src/lib/time/control-policy.hpp | 6 +++--- src/lib/time/control.hpp | 2 +- src/lib/time/mutation.hpp | 6 +++--- src/lib/time/timequant.hpp | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/lib/time/control-policy.hpp b/src/lib/time/control-policy.hpp index 36cdccf63..c29a58d36 100644 --- a/src/lib/time/control-policy.hpp +++ b/src/lib/time/control-policy.hpp @@ -80,7 +80,7 @@ ** both as target and as change/notification value. This ability is compiled in conditionally, ** as including mutation.hpp causes several additional includes, which isn't desirable when ** it comes just to changing plain time values. Thus, to get these additional specialisations, - ** the LIB_TIME_TIMEQUQNT_H header guard needs to be defined, which happens automatically + ** the LIB_TIME_TIMEQUANT_H header guard needs to be defined, which happens automatically ** if lib/time/mutation.hpp is included prior to lib/time/control.hpp. ** ** As a special convention, any \em quantised (grid aligned) types involved in these @@ -146,7 +146,7 @@ namespace mutation { return non_grid_aligned_TimeValue; } -#ifdef LIB_TIME_TIMEQUQNT_H +#ifdef LIB_TIME_TIMEQUANT_H inline QuTime maybeMaterialise (QuTime const& alignedTime) { @@ -198,7 +198,7 @@ namespace mutation { return target; } }; -#ifdef LIB_TIME_TIMEQUQNT_H +#ifdef LIB_TIME_TIMEQUANT_H template struct Builder { diff --git a/src/lib/time/control.hpp b/src/lib/time/control.hpp index 9c01c13e6..24740e38c 100644 --- a/src/lib/time/control.hpp +++ b/src/lib/time/control.hpp @@ -77,7 +77,7 @@ ** both as target and as change/notification value. This ability is compiled in conditionally, ** as including mutation.hpp causes several additional includes, which isn't desirable when ** it comes just to changing plain time values. Thus, to get these additional specialisations, - ** the LIB_TIME_TIMEQUQNT_H header guard needs to be defined, which happens automatically + ** the LIB_TIME_TIMEQUANT_H header guard needs to be defined, which happens automatically ** if lib/time/mutation.hpp is included prior to lib/time/control.hpp. ** ** \par implementation notes diff --git a/src/lib/time/mutation.hpp b/src/lib/time/mutation.hpp index dc57ff25f..0d5810b5a 100644 --- a/src/lib/time/mutation.hpp +++ b/src/lib/time/mutation.hpp @@ -114,7 +114,7 @@ namespace time { static EncapsulatedMutation materialise (QuTime const&); static EncapsulatedMutation nudge (int adjustment); static EncapsulatedMutation nudge (int adjustment, Symbol gridID); ///<@note defined in common-services.cpp -#ifdef LIB_TIME_TIMEQUQNT_H +#ifdef LIB_TIME_TIMEQUANT_H static EncapsulatedMutation nudge (int adjustment, PQuant const& grid); #endif @@ -131,7 +131,7 @@ namespace time { inline void Duration::accept (Mutation const& muta) { muta.change (*this); } inline void TimeSpan::accept (Mutation const& muta) { muta.change (*this); } -#ifdef LIB_TIME_TIMEQUQNT_H +#ifdef LIB_TIME_TIMEQUANT_H inline void QuTime::accept (Mutation const& muta) { muta.change (*this); } #endif @@ -165,7 +165,7 @@ namespace time { return imposeChange (target, TimeVar(target) += Time(FSecs(steps))); } -#ifdef LIB_TIME_TIMEQUQNT_H +#ifdef LIB_TIME_TIMEQUANT_H /** @internal Special treatment for quantised target values: * use the quantised time's own grid; retrieve the corresponding grid point, * offset it by the step-parameter, then retrieve the corresponding time from diff --git a/src/lib/time/timequant.hpp b/src/lib/time/timequant.hpp index 4041d2dee..98eb475e7 100644 --- a/src/lib/time/timequant.hpp +++ b/src/lib/time/timequant.hpp @@ -21,8 +21,8 @@ */ -#ifndef LIB_TIME_TIMEQUQNT_H -#define LIB_TIME_TIMEQUQNT_H +#ifndef LIB_TIME_TIMEQUANT_H +#define LIB_TIME_TIMEQUANT_H #include "lib/time/timevalue.hpp" #include "lib/time/quantiser.hpp"