commit c99fe4c89d05bdc23678dfeafc297dd6d63c3a59
parent 5b47942a860843865db4df94d55157bb411f56cc
Author: cfillion <cfillion@users.noreply.github.com>
Date: Wed, 6 Sep 2017 16:07:21 -0400
include system headers after our headers
Diffstat:
8 files changed, 16 insertions(+), 19 deletions(-)
diff --git a/src/config.hpp b/src/config.hpp
@@ -18,10 +18,10 @@
#ifndef REAPACK_CONFIG_HPP
#define REAPACK_CONFIG_HPP
-#include <string>
-
#include "remote.hpp"
+#include <string>
+
class Path;
struct WindowState {
diff --git a/src/index.hpp b/src/index.hpp
@@ -18,16 +18,16 @@
#ifndef REAPACK_INDEX_HPP
#define REAPACK_INDEX_HPP
+#include "metadata.hpp"
+#include "package.hpp"
+#include "source.hpp"
+
#include <map>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
-#include "metadata.hpp"
-#include "package.hpp"
-#include "source.hpp"
-
class Index;
class Path;
class Remote;
diff --git a/src/listview.hpp b/src/listview.hpp
@@ -20,13 +20,13 @@
#include "control.hpp"
+#include "serializer.hpp"
+
#include <boost/optional.hpp>
#include <boost/signals2.hpp>
#include <functional>
#include <vector>
-#include "serializer.hpp"
-
class Menu;
class ListView : public Control {
diff --git a/src/progress.hpp b/src/progress.hpp
@@ -20,7 +20,6 @@
#include "dialog.hpp"
-
class ThreadPool;
class ThreadTask;
diff --git a/src/receipt.hpp b/src/receipt.hpp
@@ -18,14 +18,14 @@
#ifndef REAPACK_RECEIPT_HPP
#define REAPACK_RECEIPT_HPP
+#include "errors.hpp"
+#include "registry.hpp"
+
#include <set>
#include <string>
#include <unordered_set>
#include <vector>
-#include "errors.hpp"
-#include "registry.hpp"
-
class Index;
class Path;
diff --git a/src/registry.hpp b/src/registry.hpp
@@ -18,14 +18,14 @@
#ifndef REAPACK_REGISTRY_HPP
#define REAPACK_REGISTRY_HPP
-#include <set>
-#include <string>
-
#include "database.hpp"
#include "package.hpp"
#include "path.hpp"
#include "version.hpp"
+#include <set>
+#include <string>
+
class Registry {
public:
struct Entry {
diff --git a/src/tabbar.hpp b/src/tabbar.hpp
@@ -22,7 +22,6 @@
#include <vector>
-
class Dialog;
class TabBar : public Control {
diff --git a/src/version.hpp b/src/version.hpp
@@ -18,15 +18,14 @@
#ifndef REAPACK_VERSION_HPP
#define REAPACK_VERSION_HPP
+#include "time.hpp"
+
#include <boost/variant.hpp>
#include <cstdint>
#include <map>
#include <set>
-#include <string>
#include <vector>
-#include "time.hpp"
-
class Package;
class Path;
class Source;