Removed redundant 'Bloom' namespace from entire codebase
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user