forked from pool/oprofile
9a7fe25941
OBS-URL: https://build.opensuse.org/request/show/69334 OBS-URL: https://build.opensuse.org/package/show/devel:tools/oprofile?expand=0&rev=17
23 lines
749 B
Diff
23 lines
749 B
Diff
From: Ismail Doenmez <idoenmez@suse.de>
|
|
Subject: Fix compilation with gcc 4.6
|
|
Date: 09.03.2011
|
|
References: N/A
|
|
Upstream: yes
|
|
Signed-Off-by: William Cohen <wcohen@redhat.com>
|
|
|
|
Do not use mutable for reference variable.
|
|
Upstream commit id: b18f60db60487ada38d5f04f52981628b28c6835
|
|
|
|
diff -up oprofile-0.9.6/libpp/format_output.h.mutable oprofile-0.9.6/libpp/format_output.h
|
|
--- oprofile-0.9.6/libpp/format_output.h.mutable 2011-02-09 10:20:29.598713997 -0500
|
|
+++ oprofile-0.9.6/libpp/format_output.h 2011-02-09 11:39:48.504714000 -0500
|
|
@@ -91,7 +91,7 @@ protected:
|
|
symbol_entry const & symbol;
|
|
sample_entry const & sample;
|
|
size_t pclass;
|
|
- mutable counts_t & counts;
|
|
+ counts_t & counts;
|
|
extra_images const & extra;
|
|
double diff;
|
|
};
|