Skip to content

Commit

Permalink
reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavrax committed Oct 12, 2023
1 parent 36c2d9f commit c62ecca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qt/pubnub_qt.h
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ class crypto_module: public into_crypto_provider_ptr {
*
* @see pubnub_crypto_aes_cbc_module_init
*/
static crypto_module aes_cbc(QString cipher_key)
static crypto_module aes_cbc(QString &cipher_key)
{
return crypto_module(pubnub_crypto_aes_cbc_module_init((uint8_t*)(cipher_key.toStdString().c_str())));
}
Expand All @@ -348,7 +348,7 @@ class crypto_module: public into_crypto_provider_ptr {
*
* @see pubnub_crypto_legacy_module_init
*/
static crypto_module legacy(QString cipher_key)
static crypto_module legacy(QString &cipher_key)
{
return crypto_module(pubnub_crypto_legacy_module_init((uint8_t*)(cipher_key.toStdString().c_str())));
}
Expand Down

0 comments on commit c62ecca

Please sign in to comment.