Skip to content

Commit ce38110

Browse files
committed
"warning: `*' interpreted as argument prefix"
1 parent 55f72e1 commit ce38110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/concurrent/atom.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class Atom < Synchronization::Object
6161
include Concern::Observable
6262

6363
safe_initialization!
64-
private *attr_volatile_with_cas(:value)
64+
private(*attr_volatile_with_cas(:value))
6565
public :value
6666

6767
# Create a new atom with the given initial value.

0 commit comments

Comments
 (0)