diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-04-19 10:39:49 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-04-19 10:40:29 +0200 |
commit | 06d86e36a3a192484deee8da08e28509827a2272 (patch) | |
tree | dfc7f7e228aab028c95366c25636416a88dd7f0e /sc | |
parent | 0fdd75805101ef387f00cbc203eb748e3354da58 (diff) |
remove needless explicit type for swap<>()
MSVC gives:
C:/PROGRA~2/MICROS~2.0/VC/include\vector(1544) : error C2825: '_Alloc': must be a class or namespace when followed by '::'
C:/PROGRA~2/MICROS~2.0/VC/include\vector(1589) : see reference to class template instantiation 'std::_Vb_iter_base<_Alloc>' being compiled
with
[
_Alloc=ScDPResultFilterSet::MemberNode *
]
C:/cygwin/home/tinderbox/master-build/sc/source/core/data/dpresfilter.cxx(147) : see reference to class template instantiation 'std::_Vb_reference<_Alloc>' being compiled
with
[
_Alloc=ScDPResultFilterSet::MemberNode *
]
Change-Id: I394f861aa29a8b6e43ea92447215a7868955555a
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/dpresfilter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/dpresfilter.cxx b/sc/source/core/data/dpresfilter.cxx index 9a23233948f5..81eb3d15d580 100644 --- a/sc/source/core/data/dpresfilter.cxx +++ b/sc/source/core/data/dpresfilter.cxx @@ -144,7 +144,7 @@ void ScDPResultFilterSet::add( void ScDPResultFilterSet::swap(ScDPResultFilterSet& rOther) { std::swap(maPrimaryDimName, rOther.maPrimaryDimName); - std::swap<MemberNode*>(mpRoot, rOther.mpRoot); + std::swap(mpRoot, rOther.mpRoot); } bool ScDPResultFilterSet::empty() const |