Three nit comments here:
1. `\` is not needed
2. leave 1-space around `!=`
3. git log is not changed as I wish

In total I prefer
```
  if (check_if_inside_default &&
      real_path_ack.find(
          tzplatform_getenv(TZ_USER_CONTENT)) != std::string::npos) {
```