aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-01-15 20:12:46 +0100
committerAdrian Kummerlaender2015-01-15 20:12:46 +0100
commit8d2a11dc86f5eb0e8db2d1a88e58a562f1e07a9c (patch)
treea39d6438fff1d01361b92573a99a76363712f1c3
parent2ebabfd7ef48660213286f5f55ebfcdd8fca0d91 (diff)
downloadTypeAsValue-8d2a11dc86f5eb0e8db2d1a88e58a562f1e07a9c.tar
TypeAsValue-8d2a11dc86f5eb0e8db2d1a88e58a562f1e07a9c.tar.gz
TypeAsValue-8d2a11dc86f5eb0e8db2d1a88e58a562f1e07a9c.tar.bz2
TypeAsValue-8d2a11dc86f5eb0e8db2d1a88e58a562f1e07a9c.tar.lz
TypeAsValue-8d2a11dc86f5eb0e8db2d1a88e58a562f1e07a9c.tar.xz
TypeAsValue-8d2a11dc86f5eb0e8db2d1a88e58a562f1e07a9c.tar.zst
TypeAsValue-8d2a11dc86f5eb0e8db2d1a88e58a562f1e07a9c.zip
Extracted basic math operations into separate header
-rw-r--r--src/operation/math.h (renamed from src/operation.h)6
-rw-r--r--test.cc2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/operation.h b/src/operation/math.h
index 2f3b747..64a5cdb 100644
--- a/src/operation.h
+++ b/src/operation/math.h
@@ -1,5 +1,5 @@
-#ifndef TYPEASVALUE_SRC_OPERATION_H_
-#define TYPEASVALUE_SRC_OPERATION_H_
+#ifndef TYPEASVALUE_SRC_OPERATION_MATH_H_
+#define TYPEASVALUE_SRC_OPERATION_MATH_H_
#include "type.h"
@@ -51,4 +51,4 @@ struct divide {
}
-#endif // TYPEASVALUE_SRC_OPERATION_H_
+#endif // TYPEASVALUE_SRC_OPERATION_MATH_H_
diff --git a/test.cc b/test.cc
index 06f0a17..5a7a6eb 100644
--- a/test.cc
+++ b/test.cc
@@ -1,7 +1,7 @@
#include "gtest/gtest.h"
#include "type.h"
-#include "operation.h"
+#include "operation/math.h"
class TypeAsValueTest : public ::testing::Test { };