summaryrefslogtreecommitdiffstats
path: root/Source/cmCableClassSet.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-05-16 21:43:53 (GMT)
committerBrad King <brad.king@kitware.com>2001-05-16 21:43:53 (GMT)
commit9f8d296f159907bee285e708cbcb9b2403c01f5f (patch)
treef6d6fd39af915a565efdd57367c497c7e4c3424c /Source/cmCableClassSet.h
parent93bdef43fb42c780beae174c7a1aae611fdbc06e (diff)
downloadCMake-9f8d296f159907bee285e708cbcb9b2403c01f5f.zip
CMake-9f8d296f159907bee285e708cbcb9b2403c01f5f.tar.gz
CMake-9f8d296f159907bee285e708cbcb9b2403c01f5f.tar.bz2
ERR: Removed use of member templates.
Diffstat (limited to 'Source/cmCableClassSet.h')
-rw-r--r--Source/cmCableClassSet.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmCableClassSet.h b/Source/cmCableClassSet.h
index 422f1e9..4263952 100644
--- a/Source/cmCableClassSet.h
+++ b/Source/cmCableClassSet.h
@@ -54,9 +54,7 @@ class cmCableClass
public:
typedef std::set<std::string> Sources;
- template <typename InputIterator>
- void AddSources(InputIterator first, InputIterator last)
- { for(InputIterator i = first; i != last; ++i) { m_Sources.insert(*i); } }
+ void AddSources(const Sources& sources);
void AddSource(const char*);
Sources::const_iterator SourcesBegin() const { return m_Sources.begin(); }