瀏覽代碼

Merge topic 'cmList-swap-fix' into release-4.1

071e8678de cmList: fix swap function definition

Acked-by: Kitware Robot <[email protected]>
Acked-by: Alex <[email protected]>
Merge-request: !11101
Brad King 5 月之前
父節點
當前提交
e0cd3b7e7d
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      Source/cmList.h

+ 0 - 2
Source/cmList.h

@@ -1319,12 +1319,10 @@ inline std::vector<std::string>& operator+=(std::vector<std::string>& l,
   return l;
   return l;
 }
 }
 
 
-namespace std {
 inline void swap(cmList& lhs, cmList& rhs) noexcept
 inline void swap(cmList& lhs, cmList& rhs) noexcept
 {
 {
   lhs.swap(rhs);
   lhs.swap(rhs);
 }
 }
-} // namespace std
 
 
 namespace cm {
 namespace cm {
 inline void erase(cmList& list, std::string const& value)
 inline void erase(cmList& list, std::string const& value)