diff options
author | David Robillard <d@drobilla.net> | 2020-07-17 19:30:40 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-17 19:59:47 +0200 |
commit | 38985664a60f2caf1576c32f01866b09183136cd (patch) | |
tree | 024c8d507ba74f49d18abedabd3b0fd0015190e9 /test/symbol_test.cpp | |
parent | 14d9ddc7441f401117bdf27663a5ddf9237425d2 (diff) | |
download | raul-38985664a60f2caf1576c32f01866b09183136cd.tar.gz raul-38985664a60f2caf1576c32f01866b09183136cd.tar.bz2 raul-38985664a60f2caf1576c32f01866b09183136cd.zip |
Remove useless casts
Diffstat (limited to 'test/symbol_test.cpp')
-rw-r--r-- | test/symbol_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/symbol_test.cpp b/test/symbol_test.cpp index 7cb6666..f17878d 100644 --- a/test/symbol_test.cpp +++ b/test/symbol_test.cpp @@ -47,8 +47,8 @@ main() assert(!Symbol::symbolify(name).empty()); } - Symbol original("sym"); - assert(original == Symbol(original)); + const Symbol original("sym"); + assert(original == original); bool valid = true; try { |