Skip to content

Commit

Permalink
drop globals
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanhhughes committed Mar 22, 2024
1 parent c144f5c commit 8e80f51
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 277 deletions.
1 change: 0 additions & 1 deletion config_utilities/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ add_library(
src/asl_formatter.cpp
src/conversions.cpp
src/formatter.cpp
src/globals.cpp
src/logger.cpp
src/meta_data.cpp
src/namespacing.cpp
Expand Down
81 changes: 0 additions & 81 deletions config_utilities/include/config_utilities/globals.h

This file was deleted.

3 changes: 0 additions & 3 deletions config_utilities/include/config_utilities/validation.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <string>
#include <vector>

#include "config_utilities/globals.h"
#include "config_utilities/internal/formatter.h"
#include "config_utilities/internal/logger.h"
#include "config_utilities/internal/visitor.h"
Expand Down Expand Up @@ -93,9 +92,7 @@ const ConfigT& checkValid(const ConfigT& config) {
"for your struct.");
internal::MetaData data = internal::Visitor::getChecks(config);

// Write the config data to global storage for later summarization if requested.
if (internal::hasNoInvalidChecks(data)) {
// TODO(nathan) threadsafe registration of configs or remove config registry printing
return config;
}

Expand Down
50 changes: 0 additions & 50 deletions config_utilities/src/globals.cpp

This file was deleted.

1 change: 0 additions & 1 deletion config_utilities/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ add_executable(
tests/conversions.cpp
tests/enums.cpp
tests/factory.cpp
tests/globals.cpp
tests/inheritance.cpp
tests/namespacing.cpp
tests/path.cpp
Expand Down
141 changes: 0 additions & 141 deletions config_utilities/test/tests/globals.cpp

This file was deleted.

0 comments on commit 8e80f51

Please sign in to comment.