Don't use initialiser list syntax for reference
AbandonedPublic

Authored by ahunt on Feb 9 2017, 3:39 AM.

Details

Reviewers
None
Summary

Initialiser lists don't work for member references in gcc 4.8, see:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50025

(This issue is apparently fixed in gcc 4.9, but at least my distro
still ships 4.8 by default.)

This syntax was originally introduced in:
ba7128b30850594c7efb258d1794e377eede364a

Don't crash when removing last account

Under certain circumstances, removing the last (or only) remaining account
causes kube to crash.

Steps to reproduce:

  1. clear all sink config folders
  2. start kube, add a generic IMAP account
  3. close kube, reopen kube
  4. open accounts list, select "edit"
  5. Select "Delete" -> kube crashes

Diff Detail

Repository
R162 Kube
Branch
develop
Lint
No Linters Available
Unit
No Unit Test Coverage
ahunt updated this revision to Diff 11093.Feb 9 2017, 3:39 AM
ahunt retitled this revision from to Don't use initialiser list syntax for reference.
ahunt updated this object.
ahunt edited the test plan for this revision. (Show Details)
ahunt abandoned this revision.Feb 9 2017, 3:41 AM

Oops, I should've created separate branches locally. Sorry about the noise.