Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert c array to cpp containers #62

Merged
merged 16 commits into from
Aug 30, 2024

Conversation

cvvergara
Copy link
Member

On the C files

process:

    char *log_msg = NULL;                                                                                               
    char *notice_msg = NULL;                                                                                            
    char *err_msg = NULL;                                                                                               
                                                                                                                        
    vrp_SPI_connect();  

   <code>

    clock_t start_t = clock();
    vrp_do___
    time_msg("
    global_report ...
        
    <code>
    
    vrp_SPI_finish();   

On the C++ files:

  • Inmediaty converting to C++ containers and using the containers

Others:

  • Converting the C array constructor to C++ containers constructors

@pgRouting/admins

@cvvergara cvvergara added the enhancement New feature or request label Aug 30, 2024
@cvvergara cvvergara added this to the Release 0.4.2 milestone Aug 30, 2024
@cvvergara cvvergara requested a review from robe2 August 30, 2024 16:17
@cvvergara cvvergara self-assigned this Aug 30, 2024
@cvvergara cvvergara merged commit 52e6a17 into pgRouting:main Aug 30, 2024
7 checks passed
@cvvergara cvvergara deleted the convert-c-array-to-cpp-containers branch August 30, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants