diff --git a/README.md b/README.md index 997ccc8..a614b14 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Smart Home Refactoring C++ Kata [![CI](https://github.com/Coding-Cuddles/smart-home-refactoring-cpp-kata/actions/workflows/main.yml/badge.svg)](https://github.com/Coding-Cuddles/smart-home-refactoring-cpp-kata/actions/workflows/main.yml) -[![Replit](https://replit.com/badge?caption=Try%20with%20Replit&variant=small)](https://replit.com/new/github/Coding-Cuddles/smart-home-refactoring-cpp-kata) +[![Replit](https://img.shields.io/badge/Try%20with%20Replit-black?logo=replit)](https://replit.com/new/github/Coding-Cuddles/smart-home-refactoring-cpp-kata) ## Overview diff --git a/smart_home.h b/smart_home.h index 0c66f25..ed93bfd 100644 --- a/smart_home.h +++ b/smart_home.h @@ -1,6 +1,5 @@ #pragma once -#include #include #include @@ -33,9 +32,9 @@ struct AirConditioner { std::string turn_on() { return "AC turned on"; } std::string turn_off() { return "AC turned off"; } - std::string set_temperature(int temperature_in_celcius) + std::string set_temperature(int temperature_in_celsius) { - return "Set temperature to " + std::to_string(temperature_in_celcius); + return "Set temperature to " + std::to_string(temperature_in_celsius); } };