chore(cpn): Fix compiler warnings when building (#3383)

* Fix build warnings.

* Rename 'flags' function.
This commit is contained in:
philmoz
2023-05-15 11:24:54 +10:00
committed by GitHub
parent 54483e6c4e
commit d29317ecd0
9 changed files with 11 additions and 14 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
constexpr char GH_API_VERSION[] {"2022-11-28"};
constexpr char GH_ACCEPT_HEADER_CONTENT[] {"application/octet-stream"};
constexpr char GH_ACCEPT_HEADER_METADATA[] {"application/vnd.github+json"};
constexpr char GH_ACCEPT_HEADER_RAW[] {"application/vnd.github.raw"};
// constexpr char GH_ACCEPT_HEADER_RAW[] {"application/vnd.github.raw"};
UpdateNetwork::UpdateNetwork(QObject * parent, UpdateStatus * status) :
QObject(parent),