Skip to content

Commit 4e8814d

Browse files
committed
* xmas_92 review
1 parent 05a85a4 commit 4e8814d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/hotspot/share/gc/g1/g1CollectorState.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
G1CollectorState::G1CollectorState(const G1CollectorState& other) :
3030
_phase(other._phase), _initiate_conc_mark_if_possible(other.initiate_conc_mark_if_possible()) { }
3131

32-
G1CollectorState& G1CollectorState::operator=(G1CollectorState const& other) {
32+
G1CollectorState& G1CollectorState::operator=(const G1CollectorState& other) {
3333
if (this != &other) {
3434
_phase = other._phase;
3535
set_initiate_conc_mark_if_possible(other.initiate_conc_mark_if_possible());

src/hotspot/share/gc/g1/g1CollectorState.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class G1CollectorState {
6868
_initiate_conc_mark_if_possible(false) { }
6969

7070
G1CollectorState(const G1CollectorState& other);
71-
G1CollectorState& operator=(G1CollectorState const& other);
71+
G1CollectorState& operator=(const G1CollectorState& other);
7272

7373
// Phase setters
7474
inline void set_in_normal_young_gc();

0 commit comments

Comments
 (0)