Skip to content

Commit 78b1a06

Browse files
khanayan123claude
andcommitted
chore: revert formatting-only changes in environment.cpp
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ed1638c commit 78b1a06

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/datadog/environment.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ namespace environment {
1111
StringView name(Variable variable) { return variable_names[variable]; }
1212

1313
Optional<StringView> lookup(Variable variable) {
14-
const char* name = variable_names[variable];
15-
const char* value = std::getenv(name);
14+
const char *name = variable_names[variable];
15+
const char *value = std::getenv(name);
1616
if (!value) {
1717
return nullopt;
1818
}
@@ -22,8 +22,8 @@ Optional<StringView> lookup(Variable variable) {
2222
std::string to_json() {
2323
auto result = nlohmann::json::object({});
2424

25-
for (const char* name : variable_names) {
26-
if (const char* value = std::getenv(name)) {
25+
for (const char *name : variable_names) {
26+
if (const char *value = std::getenv(name)) {
2727
result[name] = value;
2828
}
2929
}

0 commit comments

Comments
 (0)