Commit 1eee121a authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Prefer const variable over define.

parent 7ba7f72f
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment