mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:20:06 +00:00
remove commented out unused variables
This commit is contained in:
parent
46e0adee15
commit
02bf673105
10 changed files with 0 additions and 21 deletions
|
|
@ -24,7 +24,6 @@ static const auto logger_ = scwx::util::Logger::Create(logPrefix_);
|
|||
static constexpr std::size_t kNumRectangles = 1;
|
||||
static constexpr std::size_t kNumTriangles = kNumRectangles * 2;
|
||||
static constexpr std::size_t kVerticesPerTriangle = 3;
|
||||
//static constexpr std::size_t kVerticesPerRectangle = kVerticesPerTriangle * 2;
|
||||
static constexpr std::size_t kPointsPerVertex = 10;
|
||||
static constexpr std::size_t kPointsPerTexCoord = 3;
|
||||
static constexpr std::size_t kIconBufferLength =
|
||||
|
|
|
|||
|
|
@ -18,13 +18,9 @@ namespace draw
|
|||
static const std::string logPrefix_ = "scwx::qt::gl::draw::placefile_lines";
|
||||
static const auto logger_ = scwx::util::Logger::Create(logPrefix_);
|
||||
|
||||
//static constexpr std::size_t kNumRectangles = 1;
|
||||
//static constexpr std::size_t kNumTriangles = kNumRectangles * 2;
|
||||
static constexpr std::size_t kVerticesPerTriangle = 3;
|
||||
static constexpr std::size_t kVerticesPerRectangle = kVerticesPerTriangle * 2;
|
||||
static constexpr std::size_t kPointsPerVertex = 9;
|
||||
//static constexpr std::size_t kBufferLength =
|
||||
// kNumTriangles * kVerticesPerTriangle * kPointsPerVertex;
|
||||
|
||||
// Threshold, start time, end time
|
||||
static constexpr std::size_t kIntegersPerVertex_ = 3;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ static constexpr std::size_t kIntegersPerVertex_ = 3;
|
|||
|
||||
static constexpr std::size_t kTessVertexScreenX_ = 0;
|
||||
static constexpr std::size_t kTessVertexScreenY_ = 1;
|
||||
//static constexpr std::size_t kTessVertexScreenZ_ = 2;
|
||||
static constexpr std::size_t kTessVertexXOffset_ = 3;
|
||||
static constexpr std::size_t kTessVertexYOffset_ = 4;
|
||||
static constexpr std::size_t kTessVertexR_ = 5;
|
||||
|
|
|
|||
|
|
@ -31,9 +31,6 @@ namespace qt
|
|||
namespace map
|
||||
{
|
||||
|
||||
//static constexpr uint32_t MAX_RADIALS = 720;
|
||||
//static constexpr uint32_t MAX_DATA_MOMENT_GATES = 1840;
|
||||
|
||||
static const std::string logPrefix_ = "scwx::qt::map::radar_product_layer";
|
||||
static const auto logger_ = scwx::util::Logger::Create(logPrefix_);
|
||||
|
||||
|
|
|
|||
|
|
@ -29,8 +29,6 @@ static const std::string kRadarProductGroupName_ {"radar_product_group"};
|
|||
static const std::string kRadarProductName_ {"radar_product"};
|
||||
|
||||
static const std::string kDefaultMapStyle_ {"?"};
|
||||
//static constexpr common::RadarProductGroup kDefaultRadarProductGroup_ =
|
||||
// common::RadarProductGroup::Level3;
|
||||
static const std::string kDefaultRadarProductGroupString_ = "L3";
|
||||
static const std::array<std::string, kCount_> kDefaultRadarProduct_ {
|
||||
"N0B", "N0G", "N0C", "N0X"};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
//#define SETTINGS_CONTAINER_IMPLEMENTATION
|
||||
|
||||
#include <scwx/qt/settings/settings_container.hpp>
|
||||
#include <scwx/util/logger.hpp>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
//#define SETTINGS_INTERFACE_IMPLEMENTATION
|
||||
|
||||
#include <scwx/qt/settings/settings_interface.hpp>
|
||||
#include <scwx/qt/settings/settings_variable.hpp>
|
||||
#include <scwx/qt/ui/hotkey_edit.hpp>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
//#define SETTINGS_VARIABLE_IMPLEMENTATION
|
||||
|
||||
#include <scwx/qt/settings/settings_variable.hpp>
|
||||
#include <scwx/util/logger.hpp>
|
||||
|
||||
|
|
|
|||
|
|
@ -12,8 +12,6 @@ std::chrono::sys_days SysDays(const QDate& date)
|
|||
using namespace std::chrono;
|
||||
using sys_days = time_point<system_clock, days>;
|
||||
constexpr auto julianEpoch = sys_days {-4713y / November / 24d};
|
||||
//constexpr auto unixEpoch = sys_days {1970y / January / 1d};
|
||||
//constexpr auto offset = std::chrono::days(julianEpoch - unixEpoch);
|
||||
|
||||
return std::chrono::sys_days(std::chrono::days(date.toJulianDay()) +
|
||||
julianEpoch);
|
||||
|
|
|
|||
|
|
@ -30,8 +30,6 @@ namespace provider
|
|||
static const std::string logPrefix_ = "scwx::provider::warnings_provider";
|
||||
static const auto logger_ = util::Logger::Create(logPrefix_);
|
||||
|
||||
//static constexpr std::chrono::seconds kUpdatePeriod_ {15};
|
||||
|
||||
class WarningsProvider::Impl
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue