Removed redundant 'Bloom' namespace from entire codebase

This commit is contained in:
Nav
2023-08-13 15:47:51 +01:00
parent 0935ba65cf
commit 5896306f1a
555 changed files with 6254 additions and 6510 deletions

View File

@@ -2,20 +2,17 @@
#include <yaml-cpp/yaml.h>
namespace Bloom
class YamlUtilities
{
class YamlUtilities
{
public:
template <typename Type>
static bool isCastable(const YAML::Node& node) {
try {
node.as<Type>();
return true;
public:
template <typename Type>
static bool isCastable(const YAML::Node& node) {
try {
node.as<Type>();
return true;
} catch (YAML::BadConversion&) {
return false;
}
} catch (YAML::BadConversion&) {
return false;
}
};
}
}
};