diff --git a/src/ctemplate/find_ptr.h.in b/src/ctemplate/find_ptr.h.in index ac4d63c..31ee803 100644 --- a/src/ctemplate/find_ptr.h.in +++ b/src/ctemplate/find_ptr.h.in @@ -65,6 +65,6 @@ const typename T::value_type::second_type find_ptr2(const T& c, U v) return i == c.end() ? NULL : i->second; } -@ac_google_end_namespace@ +} #endif // TEMPLATE_FIND_PTR_H_ diff --git a/src/ctemplate/per_expand_data.h.in b/src/ctemplate/per_expand_data.h.in index f39a28b..01a09db 100644 --- a/src/ctemplate/per_expand_data.h.in +++ b/src/ctemplate/per_expand_data.h.in @@ -144,6 +144,6 @@ class @ac_windows_dllexport@ PerExpandData { void operator=(const PerExpandData&); // disallow evil operator= }; -@ac_google_end_namespace@ +} #endif // TEMPLATE_PER_EXPAND_DATA_H_ diff --git a/src/ctemplate/str_ref.h.in b/src/ctemplate/str_ref.h.in index 599c84b..c0f2ef6 100644 --- a/src/ctemplate/str_ref.h.in +++ b/src/ctemplate/str_ref.h.in @@ -124,6 +124,6 @@ private: typedef str_ref_basic data_ref; typedef str_ref_basic str_ref; -@ac_google_end_namespace@ +} #endif // TEMPLATE_STR_REF_H_ diff --git a/src/ctemplate/template.h.in b/src/ctemplate/template.h.in index 7a0e6f3..a38bad5 100644 --- a/src/ctemplate/template.h.in +++ b/src/ctemplate/template.h.in @@ -54,7 +54,7 @@ @ac_google_start_namespace@ class TemplateDictionaryInterface; class PerExpandData; -@ac_google_end_namespace@ +} #endif namespace @ac_htmlparser_namespace@ { @@ -478,7 +478,6 @@ class @ac_windows_dllexport@ Template { void operator=(const Template &); }; -@ac_google_end_namespace@ - +} #endif // CTEMPLATE_TEMPLATE_H_ diff --git a/src/ctemplate/template_annotator.h.in b/src/ctemplate/template_annotator.h.in index 1acb96c..6d903a7 100644 --- a/src/ctemplate/template_annotator.h.in +++ b/src/ctemplate/template_annotator.h.in @@ -131,7 +131,6 @@ class @ac_windows_dllexport@ TextTemplateAnnotator : public TemplateAnnotator { void operator=(const TextTemplateAnnotator&); }; -@ac_google_end_namespace@ - +} #endif // TEMPLATE_TEMPLATE_ANNOTATOR_H_ diff --git a/src/ctemplate/template_cache.h.in b/src/ctemplate/template_cache.h.in index 8b331bd..86f939e 100644 --- a/src/ctemplate/template_cache.h.in +++ b/src/ctemplate/template_cache.h.in @@ -44,7 +44,7 @@ #include @ac_google_start_namespace@ class FileStat; -@ac_google_end_namespace@ +} class Mutex; class TemplateCacheUnittest; @@ -363,6 +363,6 @@ class @ac_windows_dllexport@ TemplateCache { void operator=(const TemplateCache &); }; -@ac_google_end_namespace@ +} #endif // TEMPLATE_TEMPLATE_CACHE_H_ diff --git a/src/ctemplate/template_dictionary.h.in b/src/ctemplate/template_dictionary.h.in index ca232e7..f4b18f8 100644 --- a/src/ctemplate/template_dictionary.h.in +++ b/src/ctemplate/template_dictionary.h.in @@ -449,7 +449,6 @@ class @ac_windows_dllexport@ TemplateDictionary : public TemplateDictionaryInter void operator=(const TemplateDictionary&); }; -@ac_google_end_namespace@ - +} #endif // TEMPLATE_TEMPLATE_DICTIONARY_H_ diff --git a/src/ctemplate/template_dictionary_interface.h.in b/src/ctemplate/template_dictionary_interface.h.in index 75b8a85..e37f3a8 100644 --- a/src/ctemplate/template_dictionary_interface.h.in +++ b/src/ctemplate/template_dictionary_interface.h.in @@ -138,7 +138,6 @@ class @ac_windows_dllexport@ TemplateDictionaryInterface { void operator=(const TemplateDictionaryInterface&); }; -@ac_google_end_namespace@ - +} #endif // TEMPLATE_TEMPLATE_DICTIONARY_INTERFACE_H_ diff --git a/src/ctemplate/template_emitter.h.in b/src/ctemplate/template_emitter.h.in index 47d89b0..3651b7a 100644 --- a/src/ctemplate/template_emitter.h.in +++ b/src/ctemplate/template_emitter.h.in @@ -65,7 +65,6 @@ class @ac_windows_dllexport@ StringEmitter : public ExpandEmitter { virtual void Emit(const char* s, size_t slen) { outbuf_->append(s, slen); } }; -@ac_google_end_namespace@ - +} #endif // TEMPLATE_TEMPLATE_EMITTER_H_ diff --git a/src/ctemplate/template_enums.h.in b/src/ctemplate/template_enums.h.in index 310bef5..e2a436e 100644 --- a/src/ctemplate/template_enums.h.in +++ b/src/ctemplate/template_enums.h.in @@ -41,7 +41,6 @@ enum Strip { DO_NOT_STRIP, STRIP_BLANK_LINES, STRIP_WHITESPACE, NUM_STRIPS }; // sentinel value -@ac_google_end_namespace@ - +} #endif // TEMPLATE_TEMPLATE_ENUMS_H_ diff --git a/src/ctemplate/template_modifiers.h.in b/src/ctemplate/template_modifiers.h.in index e2b125d..5b13e01 100644 --- a/src/ctemplate/template_modifiers.h.in +++ b/src/ctemplate/template_modifiers.h.in @@ -343,10 +343,8 @@ bool AddModifier(const char* long_name, const TemplateModifier* modifier); // is used in a different context (say Javascript) where this // escaping may be inadequate. extern @ac_windows_dllexport@ -bool AddXssSafeModifier(const char* long_name, - const TemplateModifier* modifier); - -@ac_google_end_namespace@ +bool AddXssSafeModifier(const char* long_name, const TemplateModifier* modifier); +} #endif // TEMPLATE_TEMPLATE_MODIFIERS_H_ diff --git a/src/ctemplate/template_namelist.h.in b/src/ctemplate/template_namelist.h.in index 026d011..2f82636 100644 --- a/src/ctemplate/template_namelist.h.in +++ b/src/ctemplate/template_namelist.h.in @@ -158,7 +158,6 @@ class @ac_windows_dllexport@ TemplateNamelist { void operator=(const TemplateNamelist&); }; -@ac_google_end_namespace@ - +} #endif // TEMPLATE_TEMPLATE_NAMELIST_H_ diff --git a/src/ctemplate/template_pathops.h.in b/src/ctemplate/template_pathops.h.in index f4a9ba0..a0658cd 100644 --- a/src/ctemplate/template_pathops.h.in +++ b/src/ctemplate/template_pathops.h.in @@ -68,6 +68,6 @@ std::string Basename(const std::string& path); // everything after last extern @ac_windows_dllexport@ bool ContainsFullWord(const std::string& text, const std::string& word); -@ac_google_end_namespace@ +} #endif // TEMPLATE_TEMPLATE_PATHOPS_H_ diff --git a/src/ctemplate/template_string.h.in b/src/ctemplate/template_string.h.in index 701c36c..44ed348 100644 --- a/src/ctemplate/template_string.h.in +++ b/src/ctemplate/template_string.h.in @@ -352,7 +352,6 @@ class @ac_windows_dllexport@ StaticTemplateStringInitializer { const StaticTemplateString kStsEmpty = STS_INIT_WITH_HASH(kStsEmpty, "", 1457976849674613049ULL); -@ac_google_end_namespace@ - +} #endif // TEMPLATE_TEMPLATE_STRING_H_