Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

libaktualizr: Fix bug when building out-of-tree app #1572

Merged
merged 1 commit into from
Feb 27, 2020

Conversation

doanac
Copy link
Collaborator

@doanac doanac commented Feb 26, 2020

I've been experimenting with building aktualizr-lite out-of-tree with
aktualizr as a git submodule as described in the docs. I was getting the
following error without this fix:

../aktualizr/src/libaktualizr/utilities/types.cc:62:37: error: variable 'std::istringstream jsonss' has initializer but incomplete type
62 | std::istringstream jsonss(json_str);
| ^

Signed-off-by: Andy Doan andy@foundries.io

I've been experimenting with building aktualizr-lite out-of-tree with
aktualizr as a git submodule as described in the docs. I was getting the
following error without this fix:

../aktualizr/src/libaktualizr/utilities/types.cc:62:37: error: variable 'std::istringstream jsonss' has initializer but incomplete type
   62 |   std::istringstream jsonss(json_str);
      |                                     ^

Signed-off-by: Andy Doan <andy@foundries.io>
@codecov-io
Copy link

codecov-io commented Feb 26, 2020

Codecov Report

Merging #1572 into master will decrease coverage by 0.13%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1572      +/-   ##
==========================================
- Coverage   82.19%   82.06%   -0.14%     
==========================================
  Files         189      189              
  Lines       11859    11859              
==========================================
- Hits         9748     9732      -16     
- Misses       2111     2127      +16
Impacted Files Coverage Δ
src/libaktualizr/utilities/types.cc 75% <ø> (ø) ⬆️
src/libaktualizr/storage/sqlstorage_base.h 60% <0%> (-40%) ⬇️
src/libaktualizr/storage/sqlstorage_base.cc 75% <0%> (-3.38%) ⬇️
src/libaktualizr/package_manager/ostreemanager.cc 77.57% <0%> (-1.48%) ⬇️
src/libaktualizr/storage/sql_utils.h 84.72% <0%> (-1.39%) ⬇️
src/libaktualizr/storage/sqlstorage.cc 77.48% <0%> (-0.39%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 89dc151...8c6a5d9. Read the comment docs.

Copy link
Collaborator

@pattivacek pattivacek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pattivacek pattivacek merged commit 0bdb2fc into advancedtelematic:master Feb 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants