Skip to content

Commit

Permalink
Core/Misc: C++17 cleanups, commit 3, the header commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Treeston committed Mar 19, 2020
1 parent 264a356 commit ca0c50b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/common/Cryptography/CryptoGenerics.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
#ifndef TRINITY_CRYPTO_GENERICS_HPP
#define TRINITY_CRYPTO_GENERICS_HPP

#include "advstd.h"
#include "BigNumber.h"
#include "Define.h"
#include "Errors.h"
#include <iterator>
#include <vector>
#include <openssl/rand.h>

Expand Down
2 changes: 1 addition & 1 deletion src/common/Encoding/BaseEncoding.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef TRINITY_BASE_ENCODING_HPP
#define TRINITY_BASE_ENCODING_HPP

#include "advstd.h"
#include "Define.h"
#include "Optional.h"
#include <numeric>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion src/common/Utilities/Containers.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
#ifndef TRINITY_CONTAINERS_H
#define TRINITY_CONTAINERS_H

#include "advstd.h"
#include "Define.h"
#include "Random.h"
#include <algorithm>
#include <exception>
#include <iterator>
#include <type_traits>
#include <utility>
#include <vector>

Expand Down
3 changes: 2 additions & 1 deletion src/common/Utilities/EventProcessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@
#ifndef __EVENTPROCESSOR_H
#define __EVENTPROCESSOR_H

#include "advstd.h"
#include "Define.h"
#include "Duration.h"
#include "Random.h"
#include "advstd.h"
#include <map>
#include <type_traits>

class EventProcessor;

Expand Down
2 changes: 1 addition & 1 deletion src/common/Utilities/FuzzyFind.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef TRINITY_FUZZYFIND_H
#define TRINITY_FUZZYFIND_H

#include "advstd.h"
#include <map>
#include <string>
#include <type_traits>

namespace Trinity
{
Expand Down
1 change: 0 additions & 1 deletion src/server/game/Chat/ChatCommands/ChatCommandHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef TRINITY_CHATCOMMANDHELPERS_H
#define TRINITY_CHATCOMMANDHELPERS_H

#include "advstd.h"
#include <type_traits>

namespace Trinity
Expand Down
1 change: 1 addition & 0 deletions src/server/game/Chat/ChatCommands/ChatCommandTags.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#ifndef TRINITY_CHATCOMMANDTAGS_H
#define TRINITY_CHATCOMMANDTAGS_H

#include "advstd.h"
#include "ChatCommandHelpers.h"
#include "Hyperlinks.h"
#include "Optional.h"
Expand Down
2 changes: 1 addition & 1 deletion src/server/game/Chat/Hyperlinks.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef TRINITY_HYPERLINKS_H
#define TRINITY_HYPERLINKS_H

#include "advstd.h"
#include "ObjectGuid.h"
#include <string>
#include <type_traits>
#include <utility>

struct AchievementEntry;
Expand Down

0 comments on commit ca0c50b

Please sign in to comment.