mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 04:30:09 -05:00
Fix clang build errors.
This commit is contained in:
@@ -57,7 +57,7 @@ namespace opengl {
|
||||
namespace openspace {
|
||||
|
||||
struct ReferencedBoolSelection : public properties::SelectionProperty {
|
||||
ReferencedBoolSelection::ReferencedBoolSelection(const std::string& identifier, const std::string& guiName)
|
||||
ReferencedBoolSelection(const std::string& identifier, const std::string& guiName)
|
||||
: properties::SelectionProperty(identifier, guiName) { }
|
||||
|
||||
void addOption(const std::string& name, bool* ref) {
|
||||
|
||||
@@ -227,8 +227,9 @@ namespace openspace {
|
||||
std::unordered_map<std::string, std::unique_ptr<TimeFormat>> TimeIdProviderFactory::_timeIdProviderMap = std::unordered_map<std::string, std::unique_ptr<TimeFormat>>();
|
||||
|
||||
void TimeIdProviderFactory::init() {
|
||||
_timeIdProviderMap.insert({ "YYYY-MM-DD", std::make_unique<YYYY_MM_DD>() });
|
||||
_timeIdProviderMap.insert({ "YYYY-MM-DDThh:mm:ssZ", std::make_unique<YYYY_MM_DDThh_mm_ssZ>() });
|
||||
_timeIdProviderMap.insert(
|
||||
std::pair<std::string, std::unique_ptr<TimeFormat> >( "YYYY-MM-DD", std::make_unique<YYYY_MM_DD>() ));
|
||||
_timeIdProviderMap.insert(std::pair<std::string, std::unique_ptr<TimeFormat> > ( "YYYY-MM-DDThh:mm:ssZ", std::make_unique<YYYY_MM_DDThh_mm_ssZ>() ));
|
||||
initialized = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace openspace {
|
||||
|
||||
std::shared_ptr<TileIOResult> get(const ChunkIndex& chunkIndex);
|
||||
bool has(const ChunkIndex& chunkIndex) const;
|
||||
bool TileDiskCache::put(const ChunkIndex& chunkIndex, std::shared_ptr<TileIOResult> tileIOResult);
|
||||
bool put(const ChunkIndex& chunkIndex, std::shared_ptr<TileIOResult> tileIOResult);
|
||||
|
||||
|
||||
static const std::string CACHE_ROOT;
|
||||
|
||||
Reference in New Issue
Block a user