1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-13 11:40:33 +00:00

Fix const correctness

This commit is contained in:
Carles Fernandez 2024-07-22 12:59:54 +02:00
parent d0a1825c24
commit 6ae7684ba7
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ std::vector<uint8_t> Osnma_Helper::bytes(const std::string& binaryString) const
}
std::string Osnma_Helper::verification_status_str(const int& status) const
std::string Osnma_Helper::verification_status_str(int status) const
{
switch (status)
{

View File

@ -29,7 +29,7 @@ public:
uint32_t compute_gst(uint32_t WN, uint32_t TOW) const;
std::vector<uint8_t> gst_to_uint8(uint32_t GST) const;
std::vector<uint8_t> bytes(const std::string& binaryString) const;
std::string verification_status_str(const int& status) const;
std::string verification_status_str(int status) const;
std::string convert_to_hex_string(const std::vector<uint8_t>& vector) const ;
std::vector<uint8_t> convert_from_hex_string(const std::string& hex_string) const; // TODO remove similar function in gnss_crypto
};