• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

STEllAR-GROUP / hpx / #867

15 Jan 2023 08:00PM UTC coverage: 86.487% (+0.5%) from 85.951%
#867

push

StellarBot
Merge #6135

6135: Fixing warnings reported by MSVC analysis r=hkaiser a=hkaiser

- adding MSVC specific #pragma's to suppress the benign warnings


Co-authored-by: Hartmut Kaiser <hartmut.kaiser@gmail.com>

120 of 120 new or added lines in 33 files covered. (100.0%)

174599 of 201880 relevant lines covered (86.49%)

1945607.64 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/examples/accumulators/accumulator.cpp
1
//  Copyright (c) 2007-2015 Hartmut Kaiser
2
//  Copyright (c)      2011 Bryce Adelstein-Lelbach
3
//
4
//  SPDX-License-Identifier: BSL-1.0
5
//  Distributed under the Boost Software License, Version 1.0. (See accompanying
6
//  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7

8
#include <hpx/config.hpp>
9
#if !defined(HPX_COMPUTE_DEVICE_CODE)
10
#include <hpx/hpx.hpp>
11

12
#include "server/accumulator.hpp"
13

14
//[accumulator_registration_definitions
15
///////////////////////////////////////////////////////////////////////////////
16
// Add factory registration functionality.
17
HPX_REGISTER_COMPONENT_MODULE()
×
18

19
///////////////////////////////////////////////////////////////////////////////
20
typedef hpx::components::component<examples::server::accumulator>
21
    accumulator_type;
22

23
HPX_REGISTER_COMPONENT(accumulator_type, accumulator)
×
24

25
///////////////////////////////////////////////////////////////////////////////
26
// Serialization support for accumulator actions.
27
HPX_REGISTER_ACTION(
×
28
    accumulator_type::wrapped_type::reset_action, accumulator_reset_action)
29
HPX_REGISTER_ACTION(
×
30
    accumulator_type::wrapped_type::add_action, accumulator_add_action)
31
HPX_REGISTER_ACTION(
×
32
    accumulator_type::wrapped_type::query_action, accumulator_query_action)
33
//]
34

35
#endif
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc