Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
gnome-commander
gnome-commander-gcc47.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-commander-gcc47.patch of Package gnome-commander
From a8cf386412f9c287d7d96dc1762d7b0f247d8908 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka <mtasaka@fedoraproject.org> Date: Thu, 05 Jan 2012 20:20:53 +0000 Subject: Fix for gcc-4.7 compiling problem --- diff --git a/src/dict.h b/src/dict.h index 229fe4a..0d21a3b 100644 --- a/src/dict.h +++ b/src/dict.h @@ -55,8 +55,8 @@ class DICT template <typename KEY, typename VAL> inline void DICT<KEY,VAL>::add(const KEY k, const VAL &v) { - std::pair<typename KEY_COLL::iterator,bool> k_pos = k_coll.insert(make_pair(k,(const VAL *) NULL)); - std::pair<typename VAL_COLL::iterator,bool> v_pos = v_coll.insert(make_pair(v,(const KEY *) NULL)); + std::pair<typename KEY_COLL::iterator,bool> k_pos = k_coll.insert(std::make_pair(k,(const VAL *) NULL)); + std::pair<typename VAL_COLL::iterator,bool> v_pos = v_coll.insert(std::make_pair(v,(const KEY *) NULL)); if (k_pos.second) k_pos.first->second = &v_pos.first->first; -- cgit v0.9.0.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor