diff --git a/reactos/lib/atl/atlcoll.h b/reactos/lib/atl/atlcoll.h index 3b631881538..faab14a9887 100644 --- a/reactos/lib/atl/atlcoll.h +++ b/reactos/lib/atl/atlcoll.h @@ -136,7 +136,7 @@ class CElementTraits : { }; -template> +template > class CAtlList { private: @@ -178,7 +178,7 @@ public: E& GetNext(_Inout_ POSITION& pos); const E& GetNext(_Inout_ POSITION& pos) const; E& GetPrev(_Inout_ POSITION& pos); - const E& GetPrev(_Inout_ POSITION& pos) const throw(); + const E& GetPrev(_Inout_ POSITION& pos) const; E& GetAt(_In_ POSITION pos); const E& GetAt(_In_ POSITION pos) const; @@ -189,7 +189,7 @@ public: E RemoveHead(); E RemoveTail(); void RemoveAll(); - void RemoveAt(_In_ POSITION pos) throw(); + void RemoveAt(_In_ POSITION pos); POSITION Find( INARGTYPE element, diff --git a/reactos/lib/atl/atlstr.h b/reactos/lib/atl/atlstr.h index 58e633c6d7f..45d03550dcf 100644 --- a/reactos/lib/atl/atlstr.h +++ b/reactos/lib/atl/atlstr.h @@ -106,7 +106,7 @@ class ChTraitsOS : }; -template > +template > class StrTraitATL : public StringIterator { @@ -123,7 +123,7 @@ public: }; -typedef CStringT>> CAtlStringW; +typedef CStringT< wchar_t, StrTraitATL< wchar_t, ChTraitsCRT > > CAtlStringW; }