Push to git
This commit is contained in:
@ -68,7 +68,7 @@ namespace Tesses::CrossLang {
|
||||
{
|
||||
if(std::holds_alternative<Undefined>(value))
|
||||
{
|
||||
if(this->items.contains(key))
|
||||
if(this->items.count(key) > 0)
|
||||
this->items.erase(key);
|
||||
}
|
||||
else
|
||||
@ -78,7 +78,7 @@ namespace Tesses::CrossLang {
|
||||
}
|
||||
bool TDictionary::HasValue(std::string key)
|
||||
{
|
||||
return this->items.contains(key);
|
||||
return this->items.count(key) > 0;
|
||||
}
|
||||
void TDictionary::Mark()
|
||||
{
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
#include "CrossLang.hpp"
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
namespace Tesses::CrossLang {
|
||||
void TRootEnvironment::LoadDependency(GC* gc,Tesses::Framework::Filesystem::VFS* vfs, std::pair<std::string,TVMVersion> dep)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user