File tree Expand file tree Collapse file tree
src/include/lizardbyte/common Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ namespace lizardbyte::common {
2929 * @param value The value to set the environment variable to.
3030 * @return 0 on success, non-zero on failure.
3131 */
32- [[nodiscard]] int set_env (const std::string &name, const std::string &value);
32+ int set_env (const std::string &name, const std::string &value);
3333
3434 /* *
3535 * @brief Append a string to an environment variable if it does not already contain it.
@@ -38,12 +38,12 @@ namespace lizardbyte::common {
3838 * @param separator Optional separator for the new value if it is not the first one.
3939 * @return 0 on success, non-zero on failure.
4040 */
41- [[nodiscard]] int append_env (const std::string &name, const std::string &value, const std::string &separator = " " );
41+ int append_env (const std::string &name, const std::string &value, const std::string &separator = " " );
4242
4343 /* *
4444 * @brief Unset an environment variable.
4545 * @param name The name of the environment variable.
4646 * @return 0 on success, non-zero on failure.
4747 */
48- [[nodiscard]] int unset_env (const std::string &name);
48+ int unset_env (const std::string &name);
4949} // namespace lizardbyte::common
You can’t perform that action at this time.
0 commit comments