Commit Graph

13 Commits

Author SHA1 Message Date
Naios
d37ecf796e Core/Misc: Use boost::in_place() to initialize optionals.
* Improves commit 800d5d8939
* Thanks @Shauren for this great suggestion.
2015-04-27 17:01:30 +02:00
Naios
800d5d8939 Core/Misc: Replace tc's optional with boost::optional.
* benefits from empty optimization (objects are only constructed if needed).
* supports r-value references (move semantics) (boost >= 1.56.0).
* preparation for c++14/17's std::optional and std::none_t.
* add move constructor to CompactArray.
2015-04-26 23:45:52 +02:00
Carbenium
dab8e12413 Core/Support:
* Ticket status (viewed by GM, escalated) is now displayed correctly
* Fixed packet structure of CMSG_GM_TICKET_CREATE
* Use proper enum values (from client)
2015-04-21 22:00:25 +02:00
Shauren
9172584ef1 Core/Tickets: Fixed [-Woverloaded-virtual] warnings 2015-04-19 20:20:18 +02:00
Vincent-Michael
20ab76a2cb Core: Whitespace cleanup 2015-04-08 02:27:20 +02:00
Gacko
db9173488f Fix warnings 2015-03-29 21:56:22 +02:00
Carbenium
e9b60fb092 Core/Support: Added missing sql execute
Core/PacketIO: Enabled support system related opcodes
2015-03-28 11:54:03 +01:00
Carbenium
75ab5b0aa6 Core/Support: Fix some static analysis issues 2015-03-26 21:00:13 +01:00
Shauren
cc4d79495f Core/Misc: Warning fixes 2015-03-22 13:47:55 +01:00
Carbenium
2abcd4ef46 Core/Support: Fix some static analysis issues 2015-03-19 00:52:03 +01:00
jackpoz
1275774646 Revert "Core/SupportMgr: Fix static analysis issue"
This reverts commit 04020e717c.

Initializing a std::string with nullptr is not allowed by C++11 standard
and trigger runtime exceptions.
2015-03-12 21:52:59 +01:00
Vincent-Michael
04020e717c Core/SupportMgr: Fix static analysis issue 2015-03-13 21:12:18 +01:00
Carbenium
37a14bc2d5 Core/Support: Update the support/ticket system to 6.x
Core/Mail: fix a logic error introduced in 829e11b662
2015-03-10 21:09:21 +01:00