RegexPatternMruMap.h 703 B

12345678910111213141516171819
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #pragma once
  6. namespace Js
  7. {
  8. typedef JsUtil::MruDictionary<UnifiedRegex::RegexKey, UnifiedRegex::RegexPattern*> RegexPatternMruMap;
  9. };
  10. namespace JsUtil
  11. {
  12. template <>
  13. inline void ClearValue<Js::RegexPatternMruMap::MruDictionaryData>::Clear(Js::RegexPatternMruMap::MruDictionaryData* value)
  14. {
  15. *value = 0;
  16. }
  17. }