From 0ce0cbd37689d6c3ff996efe3542f23bc59ddc2b Mon Sep 17 00:00:00 2001 From: Andrew Tribick Date: Wed, 1 Jan 2025 12:08:48 +0100 Subject: [PATCH] Remove unused type alias and function declaration from deepskyobj.h --- src/celengine/deepskyobj.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/celengine/deepskyobj.h b/src/celengine/deepskyobj.h index 5dcad56f8b..29b262adb9 100644 --- a/src/celengine/deepskyobj.h +++ b/src/celengine/deepskyobj.h @@ -9,6 +9,7 @@ #pragma once +#include #include #include #include @@ -87,7 +88,7 @@ class DeepSkyObject double& cosAngleToBoundCenter) const; virtual bool load(const AssociativeArray*, const fs::path& resPath); - virtual uint64_t getRenderMask() const { return 0; } + virtual std::uint64_t getRenderMask() const { return 0; } virtual unsigned int getLabelMask() const { return 0; } AstroCatalog::IndexNumber getIndex() const { return indexNumber; } @@ -104,7 +105,3 @@ class DeepSkyObject bool visible { true }; bool clickable { true }; }; - -using DeepSkyCatalog = std::vector; -int LoadDeepSkyObjects(DeepSkyCatalog&, std::istream& in, - const std::string& path);