Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:openbabel3test
kalzium4
prefer-const-variable-over-define.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File prefer-const-variable-over-define.patch of Package kalzium4
From 1eee121af8f734667143617ac677ca0807c512c5 Mon Sep 17 00:00:00 2001 From: Andreas Cord-Landwehr <cordlandwehr@kde.org> Date: Sun, 3 Apr 2016 12:15:11 +0200 Subject: Prefer const variable over define. --- src/calculator/gasCalculator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calculator/gasCalculator.h b/src/calculator/gasCalculator.h index edd8bb4..38ddbc9 100644 --- a/src/calculator/gasCalculator.h +++ b/src/calculator/gasCalculator.h @@ -28,7 +28,7 @@ #include "ui_gasCalculator.h" // The universal Gas constant is defined here. -#define R 0.08206 +const double R = 0.08206; using namespace KUnitConversion; -- cgit v1.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor